diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-08-09 16:12:36 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-08-13 21:50:32 +0200 |
commit | 4a011043e2fd26e5d34763a706b5165fb55e1c13 (patch) | |
tree | a604ac94fb267aa93efdb329290edea3686331fa /lib/pubkey.c | |
parent | 7a28392f96414629d166adb4bd54f8649e080000 (diff) | |
download | gnutls-4a011043e2fd26e5d34763a706b5165fb55e1c13.tar.gz |
pubkey_verify_hashed_data: apply algorithm checks
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/pubkey.c')
-rw-r--r-- | lib/pubkey.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pubkey.c b/lib/pubkey.c index ae6fb5cb2b..ad8986f6f2 100644 --- a/lib/pubkey.c +++ b/lib/pubkey.c @@ -2143,7 +2143,6 @@ pubkey_verify_hashed_data(const gnutls_sign_entry_st *se, return GNUTLS_E_PK_SIG_VERIFY_FAILED; } - return 1; break; case GNUTLS_PK_ECDSA: @@ -2157,7 +2156,6 @@ pubkey_verify_hashed_data(const gnutls_sign_entry_st *se, return GNUTLS_E_PK_SIG_VERIFY_FAILED; } - return 1; break; default: gnutls_assert(); |