]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/record/methods/tls1_meth.c
libssl: Make some global mutable structures constant
[thirdparty/openssl.git] / ssl / record / methods / tls1_meth.c
index f820803b8dab27c8f072ff866627d9f4c4015d17..e522b812319caa778b6ee7ad0c2858ca1501a90e 100644 (file)
@@ -651,7 +651,7 @@ int tls1_initialise_write_packets(OSSL_RECORD_LAYER *rl,
 }
 
 /* TLSv1.0, TLSv1.1 and TLSv1.2 all use the same funcs */
-struct record_functions_st tls_1_funcs = {
+const struct record_functions_st tls_1_funcs = {
     tls1_set_crypto_state,
     tls1_cipher,
     tls1_mac,
@@ -672,7 +672,7 @@ struct record_functions_st tls_1_funcs = {
     NULL
 };
 
-struct record_functions_st dtls_1_funcs = {
+const struct record_functions_st dtls_1_funcs = {
     tls1_set_crypto_state,
     tls1_cipher,
     tls1_mac,