projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d2f96e
)
Fix int_ctx_new() error when use 1.1.1n sm2 key and ec method engine
author
lan1120
<lanming@huawei.com>
Sat, 10 Jun 2023 11:36:17 +0000
(19:36 +0800)
committer
Pauli
<pauli@openssl.org>
Tue, 18 Jul 2023 02:35:36 +0000
(12:35 +1000)
Signed-off-by: lan1120 <lanming@huawei.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21170)
crypto/evp/p_lib.c
patch
|
blob
|
history
diff --git
a/crypto/evp/p_lib.c
b/crypto/evp/p_lib.c
index c3e1ec962709fd843a63e5ac9222131605665e7d..0fab07c5dacf1fb2c7a3464e83f55ca345afb687 100644
(file)
--- a/
crypto/evp/p_lib.c
+++ b/
crypto/evp/p_lib.c
@@
-722,6
+722,7
@@
static void detect_foreign_key(EVP_PKEY *pkey)
break;
# ifndef OPENSSL_NO_EC
case EVP_PKEY_SM2:
+ break;
case EVP_PKEY_EC:
pkey->foreign = pkey->pkey.ec != NULL
&& ossl_ec_key_is_foreign(pkey->pkey.ec);