mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-27 02:36:29 +08:00
minor changes
This commit is contained in:
@@ -212,6 +212,7 @@ IMPLEMENT_dtls1_meth_func(DTLS_ANY_VERSION, 0, 0,
|
||||
/*-
|
||||
* GMTLS methods
|
||||
*/
|
||||
#ifndef OPENSSL_NO_GMTLS
|
||||
#ifndef OPENSSL_NO_GMTLS_METHOD
|
||||
IMPLEMENT_gmtls_meth_func(0, SSL_OP_NO_GMTLS,
|
||||
gmtls_method,
|
||||
@@ -228,6 +229,7 @@ IMPLEMENT_gmtls_meth_func(0, SSL_OP_NO_GMTLS,
|
||||
ssl_undefined_function,
|
||||
ossl_statem_connect, GMTLS_enc_data)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if OPENSSL_API_COMPAT < 0x10100000L
|
||||
# ifndef OPENSSL_NO_TLS1_2_METHOD
|
||||
@@ -332,6 +334,7 @@ const SSL_METHOD *DTLSv1_client_method(void)
|
||||
}
|
||||
# endif
|
||||
|
||||
# ifndef OPENSSL_NO_GMTLS
|
||||
# ifndef OPENSSL_NO_GMTLS_METHOD
|
||||
const SSL_METHOD *GMTLS_method(void)
|
||||
{
|
||||
@@ -348,5 +351,6 @@ const SSL_METHOD *GMTLS_client_method(void)
|
||||
return gmtls_client_method();
|
||||
}
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user