Deprecate the use of version-specific methods

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>

MR: #1824
This commit is contained in:
Kurt Roeckx
2016-03-02 22:39:40 +01:00
parent 885e601d97
commit 2b8fa1d56c
6 changed files with 191 additions and 64 deletions

View File

@@ -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);