aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-28 08:40:17 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-28 18:00:17 (GMT)
commit16bc3b8935c3f37ea79ff511a36e77d52ab94da7 (patch)
tree8ecb623512eca0ad264bfc27b0bae12c4d05a35f /hostapd/Makefile
parent3de28506d2fe1a5530dd91a369044d3ec025fb8f (diff)
downloadhostap-16bc3b8935c3f37ea79ff511a36e77d52ab94da7.zip
hostap-16bc3b8935c3f37ea79ff511a36e77d52ab94da7.tar.gz
hostap-16bc3b8935c3f37ea79ff511a36e77d52ab94da7.tar.bz2
OpenSSL: Add SHA256 support in openssl_tls_prf() for TLSv1.2
This is needed when enabling TLSv1.2 support for EAP-FAST since the SSL_export_keying_material() call does not support the needed parameters for TLS PRF and the external-to-OpenSSL PRF needs to be used instead. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 797b1b4..82ec159 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -541,6 +541,8 @@ HOBJS += ../src/crypto/crypto_openssl.o
ifdef NEED_FIPS186_2_PRF
OBJS += ../src/crypto/fips_prf_openssl.o
endif
+NEED_SHA256=y
+NEED_TLS_PRF_SHA256=y
LIBS += -lcrypto
LIBS_h += -lcrypto
endif