mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
gpg,sm: Remove unnecessary duplicated checks
-- Reported-by: Günther Noack <gnoack@google.com>
This commit is contained in:
parent
da4db172f6
commit
297b1a0d15
@ -2659,7 +2659,7 @@ ask_user_id (int mode, int full, KBNODE keyblock)
|
||||
xfree(answer);
|
||||
}
|
||||
xfree(answer);
|
||||
if( !amail && !acomment && !amail )
|
||||
if (!amail && !acomment)
|
||||
break;
|
||||
xfree(uid); uid = NULL;
|
||||
}
|
||||
|
@ -467,7 +467,7 @@ gpgsm_verify (ctrl_t ctrl, int in_fd, int data_fd, estream_t out_fp)
|
||||
s = gcry_md_read (data_md, algo);
|
||||
if ( !s || !msgdigestlen
|
||||
|| gcry_md_get_algo_dlen (algo) != msgdigestlen
|
||||
|| !s || memcmp (s, msgdigest, msgdigestlen) )
|
||||
|| memcmp (s, msgdigest, msgdigestlen) )
|
||||
{
|
||||
char *fpr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user