diff options
Diffstat (limited to 'lib/fips.c')
-rw-r--r-- | lib/fips.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/fips.c b/lib/fips.c index 7cfab10493..30d396b2c5 100644 --- a/lib/fips.c +++ b/lib/fips.c @@ -437,6 +437,13 @@ int _gnutls_fips_perform_self_checks2(void) goto error; } + /* TLS-PRF */ + ret = gnutls_tlsprf_self_test(0, GNUTLS_MAC_SHA256); + if (ret < 0) { + gnutls_assert(); + goto error; + } + if (_gnutls_rnd_ops.self_test == NULL) { gnutls_assert(); goto error; |