Make SSL_set_debug deprecated in 1.1

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
Rich Salz
2016-01-14 12:16:00 -05:00
committed by Rich Salz
parent 311f27852a
commit 47153c7253
3 changed files with 12 additions and 1 deletions

View File

@@ -3673,6 +3673,16 @@ int SSL_is_server(SSL *s)
return s->server;
}
#if OPENSSL_API_COMPAT < 0x10100000L
void SSL_set_debug(SSL *s, int debug)
{
/* Old function was do-nothing anyway... */
(void)s;
(void)debug;
}
#endif
void SSL_set_security_level(SSL *s, int level)
{
s->cert->sec_level = level;