summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/sha/sha_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/sha/sha_test.c b/src/regress/lib/libcrypto/sha/sha_test.c
index 05806dbcc1..a04120e4d6 100644
--- a/src/regress/lib/libcrypto/sha/sha_test.c
+++ b/src/regress/lib/libcrypto/sha/sha_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha_test.c,v 1.3 2022/09/02 13:21:32 tb Exp $ */ 1/* $OpenBSD: sha_test.c,v 1.4 2022/09/02 13:23:05 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Joshua Sing <joshua@hypera.dev> 3 * Copyright (c) 2022 Joshua Sing <joshua@hypera.dev>
4 * 4 *
@@ -452,7 +452,7 @@ static int
452sha_test(void) 452sha_test(void)
453{ 453{
454 sha_hash_func sha_func; 454 sha_hash_func sha_func;
455 struct sha_test *st; 455 const struct sha_test *st;
456 EVP_MD_CTX *hash = NULL; 456 EVP_MD_CTX *hash = NULL;
457 const EVP_MD *md; 457 const EVP_MD *md;
458 uint8_t out[EVP_MAX_MD_SIZE]; 458 uint8_t out[EVP_MAX_MD_SIZE];
@@ -541,7 +541,7 @@ sha_test(void)
541static int 541static int
542sha_repetition_test(void) 542sha_repetition_test(void)
543{ 543{
544 struct sha_repetition_test *st; 544 const struct sha_repetition_test *st;
545 EVP_MD_CTX *hash = NULL; 545 EVP_MD_CTX *hash = NULL;
546 const EVP_MD *md; 546 const EVP_MD *md;
547 uint8_t buf[1024]; 547 uint8_t buf[1024];