diff options
author | Irak Rigia <tarakrigia@gmail.com> | 2023-04-19 16:08:22 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-04-21 16:19:11 +0200 |
commit | 1e6bd31e58dba0bb5d7f21cf1fe1e0d9e4ee3c30 (patch) | |
tree | 67e2fc35dd2e9c022239b6006b66c591898da40c /fuzz | |
parent | Added a macro OSSL_DISPATCH_END as marker of the end of OSSL_DISPATCH arrays (diff) | |
download | openssl-1e6bd31e58dba0bb5d7f21cf1fe1e0d9e4ee3c30.tar.xz openssl-1e6bd31e58dba0bb5d7f21cf1fe1e0d9e4ee3c30.zip |
Replaced '{ 0, NULL }' with OSSL_DISPATCH_END in OSSL_DISPATCH arrays
Fixes #20710
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20745)
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/fuzz_rand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/fuzz_rand.c b/fuzz/fuzz_rand.c index 6d160b0921..af9df7b22d 100644 --- a/fuzz/fuzz_rand.c +++ b/fuzz/fuzz_rand.c @@ -114,7 +114,7 @@ static const OSSL_DISPATCH fuzz_rand_functions[] = { { OSSL_FUNC_RAND_GETTABLE_CTX_PARAMS, (void(*)(void))fuzz_rand_gettable_ctx_params }, { OSSL_FUNC_RAND_GET_CTX_PARAMS, (void(*)(void))fuzz_rand_get_ctx_params }, - { 0, NULL } + OSSL_DISPATCH_END }; static const OSSL_ALGORITHM fuzz_rand_rand[] = { @@ -138,7 +138,7 @@ static const OSSL_ALGORITHM *fuzz_rand_query(void *provctx, static const OSSL_DISPATCH fuzz_rand_method[] = { { OSSL_FUNC_PROVIDER_TEARDOWN, (void (*)(void))OSSL_LIB_CTX_free }, { OSSL_FUNC_PROVIDER_QUERY_OPERATION, (void (*)(void))fuzz_rand_query }, - { 0, NULL } + OSSL_DISPATCH_END }; static int fuzz_rand_provider_init(const OSSL_CORE_HANDLE *handle, |