summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-02-01 07:45:15 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 09:10:12 +0000
commit89dd87e1e86ee23a1582ec558abd2eb27d68505d (patch)
tree64928b8b23b11c526949aa3f988fb2089edc8eb7 /ssl/ssl_lib.c
parent99fb31c167e322186c6f576cfaa8f433f4fed117 (diff)
libssl: Make some global mutable structures constant
x Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23450)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 818d5d11a1..71a39a1005 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -62,7 +62,7 @@ static int ssl_undefined_function_8(SSL_CONNECTION *sc)
return ssl_undefined_function(SSL_CONNECTION_GET_SSL(sc));
}
-SSL3_ENC_METHOD ssl3_undef_enc_method = {
+const SSL3_ENC_METHOD ssl3_undef_enc_method = {
ssl_undefined_function_8,
ssl_undefined_function_3,
ssl_undefined_function_4,