Remove __cplusplus preamble from internal headers
[openssl.git] / crypto / include / internal / sm2.h
index 613fa34022762b082f674dadf0703f3840a348b3..23e38952b2a5e606d101675c9e8d731c54aea7a2 100644 (file)
 
 # 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