diff options
author | tb <> | 2022-09-02 13:23:05 +0000 |
---|---|---|
committer | tb <> | 2022-09-02 13:23:05 +0000 |
commit | 34e52af9157c33e340849585b2e2cd0b98b993cd (patch) | |
tree | b626106c1c25bf24250e92dc9f4386a2e458a144 | |
parent | 632f779685384b67b7394b90bd223655d193156f (diff) | |
download | openbsd-34e52af9157c33e340849585b2e2cd0b98b993cd.tar.gz openbsd-34e52af9157c33e340849585b2e2cd0b98b993cd.tar.bz2 openbsd-34e52af9157c33e340849585b2e2cd0b98b993cd.zip |
Add two const
-rw-r--r-- | src/regress/lib/libcrypto/sha/sha_test.c | 6 |
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 | |||
452 | sha_test(void) | 452 | sha_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) | |||
541 | static int | 541 | static int |
542 | sha_repetition_test(void) | 542 | sha_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]; |