diff options
Diffstat (limited to 'src/lib/libcrypto/sm4/sm4.h')
-rw-r--r-- | src/lib/libcrypto/sm4/sm4.h | 6 |
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 @@ | |||
26 | extern "C" { | 26 | extern "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 | ||