mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 06:03:47 +08:00
bug fix
This commit is contained in:
@@ -483,7 +483,7 @@ our %disabled = ( # "what" => "comment"
|
|||||||
"skfeng" => "default",
|
"skfeng" => "default",
|
||||||
"sdfeng" => "default",
|
"sdfeng" => "default",
|
||||||
"gmieng" => "default",
|
"gmieng" => "default",
|
||||||
"gmtls" => "default",
|
#"gmtls" => "default",
|
||||||
);
|
);
|
||||||
|
|
||||||
# Note: => pair form used for aesthetics, not to truly make a hash table
|
# Note: => pair form used for aesthetics, not to truly make a hash table
|
||||||
|
|||||||
@@ -2898,7 +2898,7 @@ CERT_PKEY *ssl_get_server_send_pkey_ex(SSL *s)
|
|||||||
if (i < 0)
|
if (i < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (i == SSL_PKEY_SM2_SIGN) {
|
if (i == SSL_PKEY_SM2) {
|
||||||
i = SSL_PKEY_SM2_ENC;
|
i = SSL_PKEY_SM2_ENC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -690,14 +690,14 @@ int ossl_statem_server_construct_message(SSL *s)
|
|||||||
case TLS_ST_SW_CERT:
|
case TLS_ST_SW_CERT:
|
||||||
#ifndef OPENSSL_NO_GMTLS
|
#ifndef OPENSSL_NO_GMTLS
|
||||||
if (SSL_IS_GMTLS(s))
|
if (SSL_IS_GMTLS(s))
|
||||||
return tls_construct_server_certificate(s)
|
return tls_construct_server_certificate(s);
|
||||||
#endif
|
#endif
|
||||||
return tls_construct_server_certificate(s);
|
return tls_construct_server_certificate(s);
|
||||||
|
|
||||||
case TLS_ST_SW_KEY_EXCH:
|
case TLS_ST_SW_KEY_EXCH:
|
||||||
#ifndef OPENSSL_NO_GMTLS
|
#ifndef OPENSSL_NO_GMTLS
|
||||||
if (SSL_IS_GMTLS(s))
|
if (SSL_IS_GMTLS(s))
|
||||||
return gmtls_construct_server_key_exchange(s)
|
return gmtls_construct_server_key_exchange(s);
|
||||||
#endif
|
#endif
|
||||||
return tls_construct_server_key_exchange(s);
|
return tls_construct_server_key_exchange(s);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user