summaryrefslogtreecommitdiff
path: root/providers/implementations/ciphers/cipher_aes_ocb.c
diff options
context:
space:
mode:
authorIrak Rigia <tarakrigia@gmail.com>2023-04-19 19:38:22 +0530
committerTomas Mraz <tomas@openssl.org>2023-04-21 16:19:11 +0200
commit1e6bd31e58dba0bb5d7f21cf1fe1e0d9e4ee3c30 (patch)
tree67e2fc35dd2e9c022239b6006b66c591898da40c /providers/implementations/ciphers/cipher_aes_ocb.c
parent23e648962e04af132c0841bec950b8a89b87fb2d (diff)
downloadopenssl-new-1e6bd31e58dba0bb5d7f21cf1fe1e0d9e4ee3c30.tar.gz
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_aes_ocb.c')
-rw-r--r--providers/implementations/ciphers/cipher_aes_ocb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_aes_ocb.c b/providers/implementations/ciphers/cipher_aes_ocb.c
index 4f2f6fb430..3044faa306 100644
--- a/providers/implementations/ciphers/cipher_aes_ocb.c
+++ b/providers/implementations/ciphers/cipher_aes_ocb.c
@@ -549,7 +549,7 @@ const OSSL_DISPATCH ossl_##aes##kbits##mode##_functions[] = { \
(void (*)(void))cipher_ocb_gettable_ctx_params }, \
{ OSSL_FUNC_CIPHER_SETTABLE_CTX_PARAMS, \
(void (*)(void))cipher_ocb_settable_ctx_params }, \
- { 0, NULL } \
+ OSSL_DISPATCH_END \
}
IMPLEMENT_cipher(ocb, OCB, AES_OCB_FLAGS, 256, 128, OCB_DEFAULT_IV_LEN * 8);