1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

gpg,sm: Remove unnecessary duplicated checks

--

Reported-by: Günther Noack <gnoack@google.com>
This commit is contained in:
Werner Koch 2015-01-23 15:30:03 +01:00
parent da4db172f6
commit 297b1a0d15
2 changed files with 2 additions and 2 deletions

View file

@ -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;