Add new function SSL_CTX_get_ssl_method().
Partial fix for PR#3183. (cherry picked from commit ba168244a14bbd056e502d7daa04cae4aabe9d0d)
This commit is contained in:
parent
b7a8550988
commit
c4f01c533b
@ -2305,6 +2305,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);
|
||||
|
@ -2715,6 +2715,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