aboutsummaryrefslogtreecommitdiff
path: root/wpa_supplicant/src/crypto/tls_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/src/crypto/tls_openssl.c')
-rw-r--r--wpa_supplicant/src/crypto/tls_openssl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/src/crypto/tls_openssl.c b/wpa_supplicant/src/crypto/tls_openssl.c
index 3d468ec..70fe79c 100644
--- a/wpa_supplicant/src/crypto/tls_openssl.c
+++ b/wpa_supplicant/src/crypto/tls_openssl.c
@@ -887,6 +887,11 @@ struct tls_connection * tls_connection_init(void *ssl_ctx)
#ifdef SSL_OP_NO_COMPRESSION
options |= SSL_OP_NO_COMPRESSION;
#endif /* SSL_OP_NO_COMPRESSION */
+#ifdef ANDROID
+ options |= SSL_OP_NO_TLSv1_1;
+ options |= SSL_OP_NO_TLSv1_2;
+ options |= SSL_OP_NO_TICKET;
+#endif /* ANDROID */
SSL_set_options(conn->ssl, options);
conn->ssl_in = BIO_new(BIO_s_mem());