summaryrefslogtreecommitdiff
path: root/crypto/evp/pmeth_gn.c
diff options
context:
space:
mode:
authorPaul Yang <kaishen.yy@antfin.com>2020-07-26 23:25:49 +0800
committerMatt Caswell <matt@openssl.org>2020-09-22 08:17:57 +0100
commit7ee511d093758360ed421e420cc29d9aaf11f143 (patch)
treeb5a7bc5b27c9db3a6e23d73ceb7864b4553bc426 /crypto/evp/pmeth_gn.c
parent6b1428ac12749f7ff0e49be363e9f7097f0e58b0 (diff)
downloadopenssl-new-7ee511d093758360ed421e420cc29d9aaf11f143.tar.gz
Add SM2 key management
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12536)
Diffstat (limited to 'crypto/evp/pmeth_gn.c')
-rw-r--r--crypto/evp/pmeth_gn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/evp/pmeth_gn.c b/crypto/evp/pmeth_gn.c
index b8dad20abd..f370ad05fb 100644
--- a/crypto/evp/pmeth_gn.c
+++ b/crypto/evp/pmeth_gn.c
@@ -20,10 +20,6 @@
#include "crypto/evp.h"
#include "evp_local.h"
-#if !defined(FIPS_MODULE) && !defined(OPENSSL_NO_EC)
-# define TMP_SM2_HACK
-#endif
-
/* TODO(3.0) remove when provider SM2 key generation is implemented */
#ifdef TMP_SM2_HACK
# include <openssl/ec.h>