|
@@ -4309,6 +4309,15 @@ int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
+#if OPENSSL_VERSION_NUMBER >= 0x10101000L
|
|
|
|
+ if (params->flags & TLS_CONN_EAP_FAST) {
|
|
|
|
+ /* Need to disable TLS v1.3 at least for now since OpenSSL 1.1.1
|
|
|
|
+ * refuses to start the handshake with the modified ciphersuite
|
|
|
|
+ * list (no TLS v1.3 ciphersuites included) for EAP-FAST. */
|
|
|
|
+ wpa_printf(MSG_DEBUG, "OpenSSL: Disable TLSv1.3 for EAP-FAST");
|
|
|
|
+ SSL_set_options(conn->ssl, SSL_OP_NO_TLSv1_3);
|
|
|
|
+ }
|
|
|
|
+#endif
|
|
#endif /* EAP_FAST || EAP_FAST_DYNAMIC || EAP_SERVER_FAST */
|
|
#endif /* EAP_FAST || EAP_FAST_DYNAMIC || EAP_SERVER_FAST */
|
|
|
|
|
|
while ((err = ERR_get_error())) {
|
|
while ((err = ERR_get_error())) {
|