summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-15 21:47:56 +0000
committertedu <tedu@openbsd.org>2014-04-15 21:47:56 +0000
commitd5cfd8ef9515508b49d0becea543a35da559ad24 (patch)
treeb923da10e3df21bcc7bdd233d4e7a18d8f587042 /lib/libssl/ssl.h
parentthe VMS code is legion (diff)
downloadwireguard-openbsd-d5cfd8ef9515508b49d0becea543a35da559ad24.tar.xz
wireguard-openbsd-d5cfd8ef9515508b49d0becea543a35da559ad24.zip
remove ssl2 support even more completely.
in the process, always include ssl3 and tls1, we don't need config options for them. when the time comes to expire ssl3, it will be with an ax. checked by miod
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 97e4a3f96c2..d3e015e738c 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -350,10 +350,6 @@ extern "C" {
extern "C" {
#endif
-#if (defined(OPENSSL_NO_RSA) || defined(OPENSSL_NO_MD5)) && !defined(OPENSSL_NO_SSL2)
-#define OPENSSL_NO_SSL2
-#endif
-
#define SSL_FILETYPE_ASN1 X509_FILETYPE_ASN1
#define SSL_FILETYPE_PEM X509_FILETYPE_PEM
@@ -1839,12 +1835,6 @@ const char *SSL_get_version(const SSL *s);
/* This sets the 'default' SSL version that SSL_new() will create */
int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
-#ifndef OPENSSL_NO_SSL2
-const SSL_METHOD *SSLv2_method(void); /* SSLv2 */
-const SSL_METHOD *SSLv2_server_method(void); /* SSLv2 */
-const SSL_METHOD *SSLv2_client_method(void); /* SSLv2 */
-#endif
-
const SSL_METHOD *SSLv3_method(void); /* SSLv3 */
const SSL_METHOD *SSLv3_server_method(void); /* SSLv3 */
const SSL_METHOD *SSLv3_client_method(void); /* SSLv3 */