Make SSL_set_debug deprecated in 1.1
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user