diff options
| author | tb <> | 2022-09-02 13:23:05 +0000 |
|---|---|---|
| committer | tb <> | 2022-09-02 13:23:05 +0000 |
| commit | 644bd6c2cd88be9227d17f5503e9e61e5e324a15 (patch) | |
| tree | b626106c1c25bf24250e92dc9f4386a2e458a144 /src | |
| parent | 4885ebc6bf14a3ed8f66751b403447a85b76e2de (diff) | |
| download | openbsd-644bd6c2cd88be9227d17f5503e9e61e5e324a15.tar.gz openbsd-644bd6c2cd88be9227d17f5503e9e61e5e324a15.tar.bz2 openbsd-644bd6c2cd88be9227d17f5503e9e61e5e324a15.zip | |
Add two const
Diffstat (limited to 'src')
| -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]; |
