From 34e52af9157c33e340849585b2e2cd0b98b993cd Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 2 Sep 2022 13:23:05 +0000 Subject: Add two const --- src/regress/lib/libcrypto/sha/sha_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -/* $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 * @@ -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]; -- cgit v1.2.3-55-g6feb