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/sm2 | |
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/sm2')
-rw-r--r-- | src/lib/libcrypto/sm2/sm2.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sm2/sm2.h b/src/lib/libcrypto/sm2/sm2.h index 2f14fe666e..b5195a73e1 100644 --- a/src/lib/libcrypto/sm2/sm2.h +++ b/src/lib/libcrypto/sm2/sm2.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */ | 1 | /* $OpenBSD: sm2.h,v 1.4 2025/01/25 17:59:44 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -22,10 +22,6 @@ | |||
22 | 22 | ||
23 | #include <openssl/ec.h> | 23 | #include <openssl/ec.h> |
24 | 24 | ||
25 | #ifdef OPENSSL_NO_SM2 | ||
26 | #error SM2 is disabled. | ||
27 | #endif | ||
28 | |||
29 | #ifdef __cplusplus | 25 | #ifdef __cplusplus |
30 | extern "C" { | 26 | extern "C" { |
31 | #endif | 27 | #endif |