mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-28 11:16:26 +08:00
bug fix
This commit is contained in:
@@ -2898,7 +2898,7 @@ CERT_PKEY *ssl_get_server_send_pkey_ex(SSL *s)
|
||||
if (i < 0)
|
||||
return NULL;
|
||||
|
||||
if (i == SSL_PKEY_SM2_SIGN) {
|
||||
if (i == SSL_PKEY_SM2) {
|
||||
i = SSL_PKEY_SM2_ENC;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user