Add new function SSL_CTX_get_ssl_method().
Partial fix for PR#3183.
This commit is contained in:
parent
d0b039d4a3
commit
ba168244a1
@ -2357,6 +2357,7 @@ int SSL_renegotiate_abbreviated(SSL *s);
|
||||
int SSL_renegotiate_pending(SSL *s);
|
||||
int SSL_shutdown(SSL *s);
|
||||
|
||||
const SSL_METHOD *SSL_CTX_get_ssl_method(SSL_CTX *ctx);
|
||||
const SSL_METHOD *SSL_get_ssl_method(SSL *s);
|
||||
int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method);
|
||||
const char *SSL_alert_type_string_long(int value);
|
||||
|
@ -2750,6 +2750,11 @@ void ssl_update_cache(SSL *s,int mode)
|
||||
}
|
||||
}
|
||||
|
||||
const SSL_METHOD *SSL_CTX_get_ssl_method(SSL_CTX *ctx)
|
||||
{
|
||||
return ctx->method;
|
||||
}
|
||||
|
||||
const SSL_METHOD *SSL_get_ssl_method(SSL *s)
|
||||
{
|
||||
return(s->method);
|
||||
|
Loading…
x
Reference in New Issue
Block a user