diff options
| author | tb <> | 2025-01-25 17:59:44 +0000 |
|---|---|---|
| committer | tb <> | 2025-01-25 17:59:44 +0000 |
| commit | 5d52abc236226c5a47c36b07e2256e77141e373a (patch) | |
| tree | 7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/sm3 | |
| parent | 60dc4676db34ffc570b69d7d4a833f2c05d9da5a (diff) | |
| download | openbsd-5d52abc236226c5a47c36b07e2256e77141e373a.tar.gz openbsd-5d52abc236226c5a47c36b07e2256e77141e373a.tar.bz2 openbsd-5d52abc236226c5a47c36b07e2256e77141e373a.zip | |
Remove #error if OPENSSL_NO_FOO is defined
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/sm3')
| -rw-r--r-- | src/lib/libcrypto/sm3/sm3.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sm3/sm3.h b/src/lib/libcrypto/sm3/sm3.h index 553c64dcdb..fa435d3d0f 100644 --- a/src/lib/libcrypto/sm3/sm3.h +++ b/src/lib/libcrypto/sm3/sm3.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: sm3.h,v 1.1 2018/11/11 06:53:31 tb Exp $ */ | 1 | /* $OpenBSD: sm3.h,v 1.2 2025/01/25 17:59:44 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
| 4 | * | 4 | * |
| @@ -25,10 +25,6 @@ | |||
| 25 | extern "C" { | 25 | extern "C" { |
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | #ifdef OPENSSL_NO_SM3 | ||
| 29 | #error SM3 is disabled. | ||
| 30 | #endif | ||
| 31 | |||
| 32 | #define SM3_DIGEST_LENGTH 32 | 28 | #define SM3_DIGEST_LENGTH 32 |
| 33 | #define SM3_WORD unsigned int | 29 | #define SM3_WORD unsigned int |
| 34 | 30 | ||
