diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-07 09:17:22 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-07 09:18:25 +0100 |
commit | 702c5a7790d05d54158360eb426f6d82caaf1ea6 (patch) | |
tree | c940951567930c24485cb481238dd26b93ec8c78 | |
parent | 5f1c84a032bf67ee9ff9c6370965c3d776775da8 (diff) | |
download | gnutls-702c5a7790d05d54158360eb426f6d82caaf1ea6.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 8a5785803b..511eebb420 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -857,6 +857,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; } |