summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sm2
diff options
context:
space:
mode:
authortb <>2025-01-25 17:59:44 +0000
committertb <>2025-01-25 17:59:44 +0000
commit5d52abc236226c5a47c36b07e2256e77141e373a (patch)
tree7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/sm2
parent60dc4676db34ffc570b69d7d4a833f2c05d9da5a (diff)
downloadopenbsd-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/sm2')
-rw-r--r--src/lib/libcrypto/sm2/sm2.h6
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
30extern "C" { 26extern "C" {
31#endif 27#endif