summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2021-08-22 21:28:51 +0200
committerTomas Mraz <tomas@openssl.org>2021-08-25 17:27:02 +0200
commit18622c7625436d7f99c0f51895c4d3cea233c62e (patch)
treedfb571b5c6c7f30ef00edbdf2f2f0de456ea0db0 /ssl
parentcf2b1d6f11aa7ec4aa909ff1ecb9bee6892285d9 (diff)
Fix some strict gcc-12 warnings
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/16375)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_cbc.c2
-rw-r--r--ssl/ssl_local.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_cbc.c b/ssl/s3_cbc.c
index aa7d63f84a..ae2a330ba5 100644
--- a/ssl/s3_cbc.c
+++ b/ssl/s3_cbc.c
@@ -128,7 +128,7 @@ char ssl3_cbc_record_digest_supported(const EVP_MD_CTX *ctx)
int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
unsigned char *md_out,
size_t *md_out_size,
- const unsigned char header[13],
+ const unsigned char *header,
const unsigned char *data,
size_t data_plus_mac_size,
size_t data_plus_mac_plus_padding_size,
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index f92472117a..9f346e30e8 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -2622,7 +2622,7 @@ __owur char ssl3_cbc_record_digest_supported(const EVP_MD_CTX *ctx);
__owur int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx,
unsigned char *md_out,
size_t *md_out_size,
- const unsigned char header[13],
+ const unsigned char *header,
const unsigned char *data,
size_t data_plus_mac_size,
size_t data_plus_mac_plus_padding_size,