summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libssl/unit/tls_prf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/unit/tls_prf.c b/src/regress/lib/libssl/unit/tls_prf.c
index b6836da167..ea753f46ff 100644
--- a/src/regress/lib/libssl/unit/tls_prf.c
+++ b/src/regress/lib/libssl/unit/tls_prf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_prf.c,v 1.9 2024/02/03 15:58:34 beck Exp $ */ 1/* $OpenBSD: tls_prf.c,v 1.10 2024/06/05 04:50:36 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -33,7 +33,7 @@ struct tls_prf_test {
33 const unsigned char out[TLS_PRF_OUT_LEN]; 33 const unsigned char out[TLS_PRF_OUT_LEN];
34}; 34};
35 35
36static struct tls_prf_test tls_prf_tests[] = { 36static const struct tls_prf_test tls_prf_tests[] = {
37 { 37 {
38 .desc = "MD5+SHA1", 38 .desc = "MD5+SHA1",
39 .ssl_method = TLSv1_method, 39 .ssl_method = TLSv1_method,
@@ -127,7 +127,7 @@ hexdump(const unsigned char *buf, size_t len)
127} 127}
128 128
129static int 129static int
130do_tls_prf_test(int test_no, struct tls_prf_test *tpt) 130do_tls_prf_test(int test_no, const struct tls_prf_test *tpt)
131{ 131{
132 unsigned char *out = NULL; 132 unsigned char *out = NULL;
133 const SSL_CIPHER *cipher; 133 const SSL_CIPHER *cipher;