]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
gnutls_x509_privkey_verify_seed: corrected typo that made the function always return...
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 12 Apr 2016 14:04:24 +0000 (16:04 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 12 Apr 2016 14:04:24 +0000 (16:04 +0200)
lib/x509/privkey.c

index c3e4779114be579250086e943befe3ad660546b8..b36a140c29698aba9c1ac3791b2f351e3c52a341 100644 (file)
@@ -1882,8 +1882,6 @@ int gnutls_x509_privkey_verify_seed(gnutls_x509_privkey_t key, gnutls_digest_alg
        else
                ret = cmp_dsa_key(key, okey);
 
-       ret = 0;
-
       cleanup:
         gnutls_x509_privkey_deinit(okey);