summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/sm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/include/internal/sm2.h')
-rw-r--r--crypto/include/internal/sm2.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/include/internal/sm2.h b/crypto/include/internal/sm2.h
index 613fa34022..23e38952b2 100644
--- a/crypto/include/internal/sm2.h
+++ b/crypto/include/internal/sm2.h
@@ -15,10 +15,6 @@
# ifndef OPENSSL_NO_SM2
-# ifdef __cplusplus
-extern "C" {
-# endif
-
# include <openssl/ec.h>
/* The default user id as specified in GM/T 0009-2012 */
@@ -74,9 +70,5 @@ int sm2_decrypt(const EC_KEY *key,
const uint8_t *ciphertext,
size_t ciphertext_len, uint8_t *ptext_buf, size_t *ptext_len);
-# ifdef __cplusplus
-}
-# endif
-
# endif /* OPENSSL_NO_SM2 */
#endif