summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-10-18 12:24:39 -0400
committerRich Salz <rsalz@akamai.com>2019-10-23 08:31:21 -0400
commitd318389eff0fb80d4a88c7af1cc314f185ba94e1 (patch)
tree5ffff2fcd93266313ffefc4d24585609c7350104 /test
parentc89799605b833f769ce4cfd879bb291f49b133be (diff)
Document "get/set-app-data" macros.
Documenting the macros removes 14 undocumented items. Merged three separate manpages into one. Rename the DRBG CRYPTO_EX define into RAND_DRBG, but keep the old one for API compatibility. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10216)
Diffstat (limited to 'test')
-rw-r--r--test/drbgtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/drbgtest.c b/test/drbgtest.c
index 93adb48d08..b8dcbf7b7b 100644
--- a/test/drbgtest.c
+++ b/test/drbgtest.c
@@ -589,7 +589,7 @@ static void unhook_drbg(RAND_DRBG *drbg)
HOOK_CTX *ctx = get_hook_ctx(drbg);
drbg->get_entropy = ctx->get_entropy;
- CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DRBG, drbg, &drbg->ex_data);
+ CRYPTO_free_ex_data(CRYPTO_EX_INDEX_RAND_DRBG, drbg, &drbg->ex_data);
}
/* Resets the given hook context */