diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-07 09:17:22 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-07 11:14:07 +0100 |
commit | 46280167dd850529e682834fc3257f854107a763 (patch) | |
tree | 8c7f74d4f535af68dc9483a157b21980a8598f5f | |
parent | 1fb6d1b577b51e0cb9ff48fa7a7a1b73630585b3 (diff) | |
download | gnutls-46280167dd850529e682834fc3257f854107a763.tar.gz |
_wrap_nettle_pk_verify: use FAIL_IF_LIB_ERROR prior to returning success
This will prevent verification to succeed if the system is in
error state.
-rw-r--r-- | lib/nettle/pk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c index b281684d56..3850d8cd81 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -763,6 +763,7 @@ _wrap_nettle_pk_verify(gnutls_pk_algorithm_t algo, _gnutls_mpi_release(&tmp[0]); _gnutls_mpi_release(&tmp[1]); + FAIL_IF_LIB_ERROR; return ret; } |