summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-08-23 14:45:32 +0100
committerMatt Caswell <matt@openssl.org>2022-08-23 17:03:31 +0100
commite921882d57201e14cc6a48765b2281065d6f5c65 (patch)
tree9ed06a809fb3e66ab857991c6cb3817f11f6acc4 /ssl
parent35bcac131ce5605c504d48a077f33f69660b660c (diff)
Fix the return type for the rlayer_skip_early_data callback
There was a copy & paste error in the definition of the rlayer_skip_early_data callback. The return type is supposed to be "int" but it was defined as a pointer type. This was causing test failures on some platforms. Fixes #19037 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/19048)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/record/record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/record/record.h b/ssl/record/record.h
index 0d2f0adf3e..a9d7f752cf 100644
--- a/ssl/record/record.h
+++ b/ssl/record/record.h
@@ -258,7 +258,7 @@ int ssl_set_new_record_layer(SSL_CONNECTION *s, int version, int direction,
const SSL_COMP *comp);
# define OSSL_FUNC_RLAYER_SKIP_EARLY_DATA 1
-OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, rlayer_skip_early_data, (void *cbarg))
+OSSL_CORE_MAKE_FUNC(int, rlayer_skip_early_data, (void *cbarg))
# define OSSL_FUNC_RLAYER_MSG_CALLBACK 2
OSSL_CORE_MAKE_FUNC(void, rlayer_msg_callback, (int write_p, int version,
int content_type,