summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-16 17:59:16 +0000
committertedu <tedu@openbsd.org>2014-04-16 17:59:16 +0000
commitb72ae1119da78b79b9d8046c9e590a6709397cf5 (patch)
tree86e8db8dcb03903cc54a8629f71418a3caf7ffca /lib/libssl/ssl_ciph.c
parentwhack the ifdef pinata: (diff)
downloadwireguard-openbsd-b72ae1119da78b79b9d8046c9e590a6709397cf5.tar.xz
wireguard-openbsd-b72ae1119da78b79b9d8046c9e590a6709397cf5.zip
disentangle SRP code from TLS
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 4bd3be0d41f..1a87cc255d8 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -724,9 +724,7 @@ ssl_cipher_get_disabled(unsigned long *mkey, unsigned long *auth, unsigned long
*mkey |= SSL_kPSK;
*auth |= SSL_aPSK;
#endif
-#ifdef OPENSSL_NO_SRP
*mkey |= SSL_kSRP;
-#endif
/* Check for presence of GOST 34.10 algorithms, and if they
* do not present, disable appropriate auth and key exchange */
if (!get_optional_pkey_id("gost94")) {