diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-14 12:16:00 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-14 12:30:32 -0500 |
commit | 47153c72536a53ecd8f428444b953db0631acc9b (patch) | |
tree | 6469c419ed7229f2b017321700ea7db1889cac1f /ssl/ssl_lib.c | |
parent | 311f27852a18fb9c10f0c1283b639f12eea06de2 (diff) |
Make SSL_set_debug deprecated in 1.1
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 03f338bc53..90de7472c7 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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; |