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 /providers/implementations/ciphers/cipher_sm4_xts.c | |
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 'providers/implementations/ciphers/cipher_sm4_xts.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_sm4_xts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_sm4_xts.c b/providers/implementations/ciphers/cipher_sm4_xts.c index 037055fce8..24b0771f2b 100644 --- a/providers/implementations/ciphers/cipher_sm4_xts.c +++ b/providers/implementations/ciphers/cipher_sm4_xts.c @@ -275,7 +275,7 @@ const OSSL_DISPATCH ossl_sm4##kbits##xts_functions[] = { \ (void (*)(void))sm4_xts_set_ctx_params }, \ { OSSL_FUNC_CIPHER_SETTABLE_CTX_PARAMS, \ (void (*)(void))sm4_xts_settable_ctx_params }, \ - { 0, NULL } \ + OSSL_DISPATCH_END \ } /* ossl_sm4128xts_functions */ IMPLEMENT_cipher(xts, XTS, 128, SM4_XTS_FLAGS); |