summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-09-02 13:23:06 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-09-02 13:23:06 +0000
commit502d450d67d61858e232c9c960b370b6897ee5e6 (patch)
tree509e260f2d81878d7630cc922ff90e26d8664ed9 /regress
parent6b759d95a2b21e1404f8cee0322eb3b66313c08c (diff)
Add two const
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/sha/sha_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/sha/sha_test.c b/regress/lib/libcrypto/sha/sha_test.c
index 05806dbcc1e..a04120e4d6e 100644
--- a/regress/lib/libcrypto/sha/sha_test.c
+++ b/regress/lib/libcrypto/sha/sha_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sha_test.c,v 1.3 2022/09/02 13:21:32 tb Exp $ */
+/* $OpenBSD: sha_test.c,v 1.4 2022/09/02 13:23:05 tb Exp $ */
/*
* Copyright (c) 2022 Joshua Sing <joshua@hypera.dev>
*
@@ -452,7 +452,7 @@ static int
sha_test(void)
{
sha_hash_func sha_func;
- struct sha_test *st;
+ const struct sha_test *st;
EVP_MD_CTX *hash = NULL;
const EVP_MD *md;
uint8_t out[EVP_MAX_MD_SIZE];
@@ -541,7 +541,7 @@ sha_test(void)
static int
sha_repetition_test(void)
{
- struct sha_repetition_test *st;
+ const struct sha_repetition_test *st;
EVP_MD_CTX *hash = NULL;
const EVP_MD *md;
uint8_t buf[1024];