summaryrefslogtreecommitdiffstats
path: root/crypto/sm2
diff options
context:
space:
mode:
authorJack Lloyd <jack.lloyd@ribose.com>2018-04-06 15:45:41 +0200
committerMatt Caswell <matt@openssl.org>2018-06-04 12:59:40 +0200
commite425f90fffd33786b6d45b46b67dc8bb61baecc7 (patch)
treeccfa1b6a799a793a86ca0fd8dfe277c8a5641a90 /crypto/sm2
parentsha/asm/sha512p8-ppc.pl: improve POWER9 performance by ~10%. (diff)
downloadopenssl-e425f90fffd33786b6d45b46b67dc8bb61baecc7.tar.xz
openssl-e425f90fffd33786b6d45b46b67dc8bb61baecc7.zip
Make SM2 functions private
Address issue #5670 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6386)
Diffstat (limited to 'crypto/sm2')
-rw-r--r--crypto/sm2/sm2_crypt.c2
-rw-r--r--crypto/sm2/sm2_err.c2
-rw-r--r--crypto/sm2/sm2_sign.c2
-rw-r--r--crypto/sm2/sm2_za.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/crypto/sm2/sm2_crypt.c b/crypto/sm2/sm2_crypt.c
index a31c40fc7a..c3abd969eb 100644
--- a/crypto/sm2/sm2_crypt.c
+++ b/crypto/sm2/sm2_crypt.c
@@ -9,7 +9,7 @@
* https://www.openssl.org/source/license.html
*/
-#include <openssl/sm2.h>
+#include "internal/sm2.h"
#include <openssl/evp.h>
#include <openssl/bn.h>
#include <openssl/asn1.h>
diff --git a/crypto/sm2/sm2_err.c b/crypto/sm2/sm2_err.c
index 0c051f68b6..6f244a5eb0 100644
--- a/crypto/sm2/sm2_err.c
+++ b/crypto/sm2/sm2_err.c
@@ -9,7 +9,7 @@
*/
#include <openssl/err.h>
-#include <openssl/sm2err.h>
+#include "internal/sm2err.h"
#ifndef OPENSSL_NO_ERR
diff --git a/crypto/sm2/sm2_sign.c b/crypto/sm2/sm2_sign.c
index e12eca12fb..ddfd318ed9 100644
--- a/crypto/sm2/sm2_sign.c
+++ b/crypto/sm2/sm2_sign.c
@@ -9,7 +9,7 @@
* https://www.openssl.org/source/license.html
*/
-#include <openssl/sm2.h>
+#include "internal/sm2.h"
#include <openssl/evp.h>
#include <openssl/bn.h>
#include <string.h>
diff --git a/crypto/sm2/sm2_za.c b/crypto/sm2/sm2_za.c
index f76fe0fcad..cf355238b2 100644
--- a/crypto/sm2/sm2_za.c
+++ b/crypto/sm2/sm2_za.c
@@ -9,7 +9,7 @@
* https://www.openssl.org/source/license.html
*/
-#include <openssl/sm2.h>
+#include "internal/sm2.h"
#include <openssl/evp.h>
#include <openssl/bn.h>
#include <string.h>