summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-07-11 09:24:44 +0000
committerbeck <beck@openbsd.org>2014-07-11 09:24:44 +0000
commit30d0a0751b6ad1070ac5b7a7ab882b06d83a190b (patch)
tree3e57e700e4c3c066dfaefeaff4b4a1fefa120172 /lib/libssl/ssl_ciph.c
parentbetter document perils of setuid getenv and xr with issetugid (diff)
downloadwireguard-openbsd-30d0a0751b6ad1070ac5b7a7ab882b06d83a190b.tar.xz
wireguard-openbsd-30d0a0751b6ad1070ac5b7a7ab882b06d83a190b.zip
Remove the PSK code. We don't need to drag around this
baggage. ok miod@ jsing@
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 92d2417cb9f..a79eafc9cf8 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_ciph.c,v 1.62 2014/07/10 11:58:08 jsing Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.63 2014/07/11 09:24:44 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -883,10 +883,8 @@ ssl_cipher_get_disabled(unsigned long *mkey, unsigned long *auth, unsigned long
*auth |= SSL_aDH;
*mkey |= SSL_kKRB5;
*auth |= SSL_aKRB5;
-#ifdef OPENSSL_NO_PSK
*mkey |= SSL_kPSK;
*auth |= SSL_aPSK;
-#endif
*mkey |= SSL_kSRP;
/* Check for presence of GOST 34.10 algorithms, and if they
* do not present, disable appropriate auth and key exchange */