summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-05-29 20:04:09 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-05-29 20:04:09 +0000
commitb5a8f988f407de25c016d121edcfc3e2a5272bdc (patch)
tree869d2078557b227c3b1fe3e7cd5116d2fd4f6b35 /lib
parent9609d19ba5b5137350eedd2f727a8c73998db85d (diff)
remove back compat that was already disabled back in 1998.
from Alexander Schrijver
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 31bc197b54c..49b85ea0421 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1364,14 +1364,6 @@ size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count);
#define OpenSSL_add_ssl_algorithms() SSL_library_init()
#define SSLeay_add_ssl_algorithms() SSL_library_init()
-/* this is for backward compatibility */
-#if 0 /* NEW_SSLEAY */
-#define SSL_CTX_set_default_verify(a,b,c) SSL_CTX_set_verify(a,b,c)
-#define SSL_set_pref_cipher(c,n) SSL_set_cipher_list(c,n)
-#define SSL_add_session(a,b) SSL_CTX_add_session((a),(b))
-#define SSL_remove_session(a,b) SSL_CTX_remove_session((a),(b))
-#define SSL_flush_sessions(a,b) SSL_CTX_flush_sessions((a),(b))
-#endif
/* More backward compatibility */
#define SSL_get_cipher(s) \
SSL_CIPHER_get_name(SSL_get_current_cipher(s))