Add TLS_{client,server}_method.
Inch towards OpenSSL 1.1.0 compatibility. BUG=91 Change-Id: Ia45b6bdb5114d0891fdffdef0b5868920324ecec Reviewed-on: https://boringssl-review.googlesource.com/9140 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
9305a13252
commit
a9c3bf142e
@ -3162,6 +3162,8 @@ OPENSSL_EXPORT const SSL_METHOD *DTLSv1_2_method(void);
|
||||
|
||||
/* These client- and server-specific methods call their corresponding generic
|
||||
* methods. */
|
||||
OPENSSL_EXPORT const SSL_METHOD *TLS_server_method(void);
|
||||
OPENSSL_EXPORT const SSL_METHOD *TLS_client_method(void);
|
||||
OPENSSL_EXPORT const SSL_METHOD *SSLv23_server_method(void);
|
||||
OPENSSL_EXPORT const SSL_METHOD *SSLv23_client_method(void);
|
||||
OPENSSL_EXPORT const SSL_METHOD *SSLv3_server_method(void);
|
||||
|
@ -207,3 +207,11 @@ const SSL_METHOD *SSLv23_server_method(void) {
|
||||
const SSL_METHOD *SSLv23_client_method(void) {
|
||||
return SSLv23_method();
|
||||
}
|
||||
|
||||
const SSL_METHOD *TLS_server_method(void) {
|
||||
return TLS_method();
|
||||
}
|
||||
|
||||
const SSL_METHOD *TLS_client_method(void) {
|
||||
return TLS_method();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user