diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-10-15 05:41:59 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-01-26 15:22:14 +0100 |
commit | 5b5eea4b60b682009d2b15587c9ceeae5e9c73f8 (patch) | |
tree | 4a3261cb27a582770270a07b40ecf05ecb71c89a /crypto/sm2 | |
parent | Add functions to set values into an EVP_PKEY (diff) | |
download | openssl-5b5eea4b60b682009d2b15587c9ceeae5e9c73f8.tar.xz openssl-5b5eea4b60b682009d2b15587c9ceeae5e9c73f8.zip |
Deprecate EC_KEY + Update ec apps to use EVP_PKEY
Co-author: Richard Levitte <levitte@openssl.org>
Co-author: Tomas Mraz <tmraz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13139)
Diffstat (limited to 'crypto/sm2')
-rw-r--r-- | crypto/sm2/sm2_key.c | 2 | ||||
-rw-r--r-- | crypto/sm2/sm2_sign.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/sm2/sm2_key.c b/crypto/sm2/sm2_key.c index 5182d01058..c91a712b67 100644 --- a/crypto/sm2/sm2_key.c +++ b/crypto/sm2/sm2_key.c @@ -7,6 +7,8 @@ * https://www.openssl.org/source/license.html */ +#include "internal/deprecated.h" /* to be able to use EC_KEY and EC_GROUP */ + #include <openssl/err.h> #include "crypto/sm2err.h" #include "crypto/sm2.h" diff --git a/crypto/sm2/sm2_sign.c b/crypto/sm2/sm2_sign.c index 94ea3aef96..1383e2e4f8 100644 --- a/crypto/sm2/sm2_sign.c +++ b/crypto/sm2/sm2_sign.c @@ -9,6 +9,8 @@ * https://www.openssl.org/source/license.html */ +#include "internal/deprecated.h" + #include "crypto/sm2.h" #include "crypto/sm2err.h" #include "crypto/ec.h" /* ec_group_do_inverse_ord() */ |