From 2159d0c5bc2ac89661334f3c58f62c813a36c722 Mon Sep 17 00:00:00 2001 From: zhaoxiaomeng Date: Wed, 28 Jun 2017 13:25:14 +0800 Subject: [PATCH] [crypto] fix sm2 malloc error --- crypto/sm2/sm2_standard_exch.c | 1 - include/openssl/sm2_standard.h | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/sm2/sm2_standard_exch.c b/crypto/sm2/sm2_standard_exch.c index 4c9bcb72..3209daf8 100644 --- a/crypto/sm2/sm2_standard_exch.c +++ b/crypto/sm2/sm2_standard_exch.c @@ -49,7 +49,6 @@ */ -#include #include #include #include diff --git a/include/openssl/sm2_standard.h b/include/openssl/sm2_standard.h index f52f801a..829f9c14 100644 --- a/include/openssl/sm2_standard.h +++ b/include/openssl/sm2_standard.h @@ -52,7 +52,8 @@ #include -#include +#include +#include