diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-06-12 17:39:09 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-06-12 17:39:09 +0000 |
commit | 9bba919065ee65bddbd5b8f0181c4b9fe51d6aa9 (patch) | |
tree | 090de000c2e7805e114318dca6ea5a3b51a77f10 | |
parent | 6cbe7a8d9c2b0bfc87529ea3fa7487abc72c4730 (diff) | |
parent | facea2b7659e11efce7014bda8800574d35dd05d (diff) | |
download | gnutls-9bba919065ee65bddbd5b8f0181c4b9fe51d6aa9.tar.gz |
Merge branch 'tmp-aes-cbc-selftest' into 'master'
fips: run selftests over overridden AES-CBC algorithm
See merge request gnutls/gnutls!1027
-rw-r--r-- | lib/fips.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/fips.c b/lib/fips.c index b92edbbd79..902af56749 100644 --- a/lib/fips.c +++ b/lib/fips.c @@ -317,6 +317,12 @@ int _gnutls_fips_perform_self_checks2(void) goto error; } + ret = gnutls_cipher_self_test(0, GNUTLS_CIPHER_AES_256_CBC); + if (ret < 0) { + gnutls_assert(); + goto error; + } + ret = gnutls_cipher_self_test(0, GNUTLS_CIPHER_AES_256_GCM); if (ret < 0) { gnutls_assert(); |