summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sm4/sm4.h
diff options
context:
space:
mode:
authortb <>2025-01-25 17:59:44 +0000
committertb <>2025-01-25 17:59:44 +0000
commit5482f7f31863bd209e2f594c751ead79f03aa62e (patch)
tree7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/sm4/sm4.h
parent538936a6c977803d4e15c8449c956ab3c5d69d86 (diff)
downloadopenbsd-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/sm4/sm4.h')
-rw-r--r--src/lib/libcrypto/sm4/sm4.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sm4/sm4.h b/src/lib/libcrypto/sm4/sm4.h
index 5931ac714b..0c7fc223eb 100644
--- a/src/lib/libcrypto/sm4/sm4.h
+++ b/src/lib/libcrypto/sm4/sm4.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sm4.h,v 1.1 2019/03/17 17:42:37 tb Exp $ */ 1/* $OpenBSD: sm4.h,v 1.2 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 *
@@ -26,10 +26,6 @@
26extern "C" { 26extern "C" {
27#endif 27#endif
28 28
29#ifdef OPENSSL_NO_SM4
30#error SM4 is disabled.
31#endif
32
33#define SM4_DECRYPT 0 29#define SM4_DECRYPT 0
34#define SM4_ENCRYPT 1 30#define SM4_ENCRYPT 1
35 31