summaryrefslogtreecommitdiff
path: root/ssl/record/rec_layer_s3.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 /ssl/record/rec_layer_s3.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 'ssl/record/rec_layer_s3.c')
-rw-r--r--ssl/record/rec_layer_s3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c
index e59588472f..bba8b7fa02 100644
--- a/ssl/record/rec_layer_s3.c
+++ b/ssl/record/rec_layer_s3.c
@@ -1103,7 +1103,7 @@ static const OSSL_DISPATCH rlayer_dispatch[] = {
{ OSSL_FUNC_RLAYER_MSG_CALLBACK, (void (*)(void))rlayer_msg_callback_wrapper },
{ OSSL_FUNC_RLAYER_SECURITY, (void (*)(void))rlayer_security_wrapper },
{ OSSL_FUNC_RLAYER_PADDING, (void (*)(void))rlayer_padding_wrapper },
- { 0, NULL }
+ OSSL_DISPATCH_END
};
void ossl_ssl_set_custom_record_layer(SSL_CONNECTION *s,