armbian-build/extras-buildpkgs/hostapd/debian/patches/session-ticket.patch
2016-07-05 21:52:09 +03:00

22 lines
730 B
Diff

From: Jeremy Nickurak <jeremy@nickurak.ca>
Subject: Disable the session ticket TLS extension.
Bug-ubuntu: https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/969343
Bug: http://w1.fi/bugz/show_bug.cgi?id=447
---
src/crypto/tls_openssl.c | 1 +
1 file changed, 1 insertion(+)
Index: b/src/crypto/tls_openssl.c
===================================================================
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -1060,6 +1060,7 @@ struct tls_connection * tls_connection_i
#ifdef SSL_OP_NO_COMPRESSION
options |= SSL_OP_NO_COMPRESSION;
#endif /* SSL_OP_NO_COMPRESSION */
+ options |= SSL_OP_NO_TICKET;
SSL_set_options(conn->ssl, options);
conn->ssl_in = BIO_new(BIO_s_mem());