diff options
author | Dr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com> | 2020-09-13 00:47:28 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com> | 2020-09-14 06:36:22 +0200 |
commit | 4f14a378f807e989aa0b328267732409c8d6ac68 (patch) | |
tree | b0a269b10d6c2ed8ce702411f5b9db9a293b2e15 /providers/fips | |
parent | prov/drbg: fix misspelling of '#ifdef FIPS_MODULE' (diff) | |
download | openssl-4f14a378f807e989aa0b328267732409c8d6ac68.tar.xz openssl-4f14a378f807e989aa0b328267732409c8d6ac68.zip |
prov/drbg: cleanup some RAND_DRBG leftovers
These are leftovers from the RAND_DRBG removal (#12509).
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12866)
Diffstat (limited to 'providers/fips')
-rw-r--r-- | providers/fips/self_test_kats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/fips/self_test_kats.c b/providers/fips/self_test_kats.c index 8c88f8be5d..44d7557530 100644 --- a/providers/fips/self_test_kats.c +++ b/providers/fips/self_test_kats.c @@ -315,7 +315,7 @@ static int self_test_drbg(const ST_KAT_DRBG *t, OSSL_SELF_TEST *st, if (!EVP_RAND_set_ctx_params(test, drbg_params)) goto err; - /* This calls RAND_DRBG_reseed() internally when prediction_resistance = 1 */ + /* This calls PROV_DRBG_reseed() internally when prediction_resistance = 1 */ if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, prediction_resistance, t->entropyaddin2, t->entropyaddin2len)) @@ -329,7 +329,7 @@ static int self_test_drbg(const ST_KAT_DRBG *t, OSSL_SELF_TEST *st, if (!EVP_RAND_uninstantiate(drbg)) goto err; /* - * Check that the DRBG data has been zeroized after RAND_DRBG_uninstantiate. + * Check that the DRBG data has been zeroized after PROV_DRBG_uninstantiate. */ if (!EVP_RAND_verify_zeroization(drbg)) goto err; |