aboutsummaryrefslogtreecommitdiff
path: root/crypto/include
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/include')
-rw-r--r--crypto/include/internal/sm2err.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/include/internal/sm2err.h b/crypto/include/internal/sm2err.h
index f32d26c..9a7e2b6 100644
--- a/crypto/include/internal/sm2err.h
+++ b/crypto/include/internal/sm2err.h
@@ -15,6 +15,9 @@
# ifndef OPENSSL_NO_SM2
+# ifdef __cplusplus
+extern "C"
+# endif
int ERR_load_SM2_strings(void);
/*