diff options
| author | jsing <> | 2024-03-28 08:04:27 +0000 |
|---|---|---|
| committer | jsing <> | 2024-03-28 08:04:27 +0000 |
| commit | 0e9ebbce38ec9ec0f820e1905df3f817cca69260 (patch) | |
| tree | 7d997eef045843cbd6cf8fa8b0d5eea91fdbf13e | |
| parent | f0a0106e518cbe00fa1420a9dbae4269ff01fffa (diff) | |
| download | openbsd-0e9ebbce38ec9ec0f820e1905df3f817cca69260.tar.gz openbsd-0e9ebbce38ec9ec0f820e1905df3f817cca69260.tar.bz2 openbsd-0e9ebbce38ec9ec0f820e1905df3f817cca69260.zip | |
Tidy includes.
| -rw-r--r-- | src/lib/libcrypto/sm3/sm3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sm3/sm3.c b/src/lib/libcrypto/sm3/sm3.c index 04fc9f29f2..5269655594 100644 --- a/src/lib/libcrypto/sm3/sm3.c +++ b/src/lib/libcrypto/sm3/sm3.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: sm3.c,v 1.7 2024/03/28 08:01:01 jsing Exp $ */ | 1 | /* $OpenBSD: sm3.c,v 1.8 2024/03/28 08:04:27 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
| 4 | * | 4 | * |
| @@ -15,14 +15,14 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef OPENSSL_NO_SM3 | ||
| 19 | |||
| 20 | #include <openssl/sm3.h> | ||
| 21 | |||
| 22 | #include <string.h> | 18 | #include <string.h> |
| 23 | 19 | ||
| 24 | #include <openssl/opensslconf.h> | 20 | #include <openssl/opensslconf.h> |
| 25 | 21 | ||
| 22 | #include <openssl/sm3.h> | ||
| 23 | |||
| 24 | #ifndef OPENSSL_NO_SM3 | ||
| 25 | |||
| 26 | #define DATA_ORDER_IS_BIG_ENDIAN | 26 | #define DATA_ORDER_IS_BIG_ENDIAN |
| 27 | 27 | ||
| 28 | #define HASH_LONG SM3_WORD | 28 | #define HASH_LONG SM3_WORD |
