Deprecate the use of version-specific methods
Reviewed-by: Viktor Dukhovni <viktor@openssl.org> MR: #1824
This commit is contained in:
@@ -3054,7 +3054,7 @@ int ssl_undefined_const_function(const SSL *s)
|
||||
return (0);
|
||||
}
|
||||
|
||||
SSL_METHOD *ssl_bad_method(int ver)
|
||||
const SSL_METHOD *ssl_bad_method(int ver)
|
||||
{
|
||||
SSLerr(SSL_F_SSL_BAD_METHOD, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
|
||||
return (NULL);
|
||||
|
Reference in New Issue
Block a user