Add new function SSL_CTX_get_ssl_method().
Partial fix for PR#3183.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user