minor changes

This commit is contained in:
Zhi Guan
2017-12-26 22:59:32 +08:00
parent 735c0a5800
commit 86aa61c0b6
7 changed files with 62 additions and 5 deletions

View File

@@ -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