1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* mainproc.c (check_sig_and_print): Show digest algorithm when verifying a

sig with --verbose on.

* parse-packet.c (enum_sig_subpkt): Make a warning message a --verbose
warning message since the devel version can make signatures that trigger
it each time.
This commit is contained in:
David Shaw 2003-04-26 21:35:22 +00:00
parent 9b6afa4fab
commit 2e6d0dd2e0
3 changed files with 20 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2003-04-26 David Shaw <dshaw@jabberwocky.com>
* mainproc.c (check_sig_and_print): Show digest algorithm when
verifying a sig with --verbose on.
* parse-packet.c (enum_sig_subpkt): Make a warning message a
--verbose warning message since the devel version can make
signatures that trigger it each time.
2003-04-24 David Shaw <dshaw@jabberwocky.com>
* hkp.c (hkp_ask_import, hkp_export, hkp_search): Make sure to

View File

@ -1489,6 +1489,10 @@ check_sig_and_print( CTX c, KBNODE node )
else if(sig->expiredate)
log_info("Signature expires %s\n",asctimestamp(sig->expiredate));
if(opt.verbose)
log_info(_("digest algorithm %s\n"),
digest_algo_to_string(sig->digest_algo));
if( rc )
g10_errors_seen = 1;
if( opt.batch && rc )

View File

@ -1063,13 +1063,15 @@ enum_sig_subpkt( const subpktarea_t *pktbuf, sigsubpkttype_t reqtype,
if( *critical ) {
if( n-1 > buflen+1 )
goto too_short;
if( !can_handle_critical(buffer+1, n-1, type ) ) {
log_info(_("subpacket of type %d has critical bit set\n"),
type);
if( !can_handle_critical(buffer+1, n-1, type ) )
{
if(opt.verbose)
log_info(_("subpacket of type %d has "
"critical bit set\n"),type);
if( start )
*start = seq;
*start = seq;
return NULL; /* this is an error */
}
}
}
}
else if( reqtype < 0 ) /* list packets */