diff options
author | tb <> | 2025-01-25 17:59:44 +0000 |
---|---|---|
committer | tb <> | 2025-01-25 17:59:44 +0000 |
commit | 5482f7f31863bd209e2f594c751ead79f03aa62e (patch) | |
tree | 7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/sm3 | |
parent | 538936a6c977803d4e15c8449c956ab3c5d69d86 (diff) | |
download | openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.gz openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.bz2 openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.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 | ||