mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-26 23:23:40 +08:00
add SM2 default ID, fixed the SM2_do_encrypt() memory leak
This commit is contained in:
@@ -451,7 +451,6 @@ int ssl_get_new_session(SSL *s, int session)
|
||||
} else if (s->version == GMSSL1_1_VERSION) {
|
||||
ss->ssl_version = GMSSL1_1_VERSION;
|
||||
ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH;
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
SSLerr(SSL_F_SSL_GET_NEW_SESSION, SSL_R_UNSUPPORTED_SSL_VERSION);
|
||||
|
||||
Reference in New Issue
Block a user