aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_cred.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-12-22 15:53:45 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-22 15:53:45 (GMT)
commitbca0872dd5c72135827355c4be1f772cc9641a84 (patch)
treeb4e7ad31a50173cc86fced03d0118caed2759f07 /src/tls/tlsv1_cred.c
parent8adce07a73e8eb53510190de6cf3eee86f5d0d87 (diff)
downloadhostap-bca0872dd5c72135827355c4be1f772cc9641a84.zip
hostap-bca0872dd5c72135827355c4be1f772cc9641a84.tar.gz
hostap-bca0872dd5c72135827355c4be1f772cc9641a84.tar.bz2
TLS server: OCSP stapling
This adds support for hostapd-as-authentication-server to be build with the internal TLS implementation and OCSP stapling server side support. This is more or less identical to the design used with OpenSSL, i.e., the cached response is read from the ocsp_stapling_response=<file> and sent as a response if the client requests it during the TLS handshake. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/tls/tlsv1_cred.c')
-rw-r--r--src/tls/tlsv1_cred.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/tlsv1_cred.c b/src/tls/tlsv1_cred.c
index 92f97c7..732ed4a 100644
--- a/src/tls/tlsv1_cred.c
+++ b/src/tls/tlsv1_cred.c
@@ -36,6 +36,7 @@ void tlsv1_cred_free(struct tlsv1_credentials *cred)
crypto_private_key_free(cred->key);
os_free(cred->dh_p);
os_free(cred->dh_g);
+ os_free(cred->ocsp_stapling_response);
os_free(cred);
}