diff options
author | 2015-06-20 12:29:39 +0000 | |
---|---|---|
committer | 2015-06-20 12:29:39 +0000 | |
commit | f5213de9ab50de0eaba1bc4478828c33b41b610d (patch) | |
tree | 68fefd8c6837df8809c5ea247215f13fa8b0a636 /lib/libssl/ssl.h | |
parent | Put CRYPTO_memcmp() under #ifndef LIBRESSL_INTERNAL. (diff) | |
download | wireguard-openbsd-f5213de9ab50de0eaba1bc4478828c33b41b610d.tar.xz wireguard-openbsd-f5213de9ab50de0eaba1bc4478828c33b41b610d.zip |
Make SSL_OP_ALL readable.
ok deraadt@ doug@ millert@ miod@ sthen@
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r-- | lib/libssl/ssl.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index fd50d9b69c3..c47ae4632fe 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.86 2015/06/17 14:27:56 jsing Exp $ */ +/* $OpenBSD: ssl.h,v 1.87 2015/06/20 12:29:39 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -572,7 +572,14 @@ struct ssl_session_st { #define SSL_OP_CRYPTOPRO_TLSEXT_BUG 0x80000000L /* SSL_OP_ALL: various bug workarounds that should be rather harmless. */ -#define SSL_OP_ALL 0x80000374L +#define SSL_OP_ALL \ + (SSL_OP_LEGACY_SERVER_CONNECT | \ + SSL_OP_TLSEXT_PADDING | \ + SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER | \ + SSL_OP_SAFARI_ECDHE_ECDSA_BUG | \ + SSL_OP_TLS_D5_BUG | \ + SSL_OP_TLS_BLOCK_PADDING_BUG | \ + SSL_OP_CRYPTOPRO_TLSEXT_BUG) /* Obsolete flags kept for compatibility. No sane code should use them. */ #define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION 0x0 |