aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_cred.h
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.h
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.h')
-rw-r--r--src/tls/tlsv1_cred.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tlsv1_cred.h b/src/tls/tlsv1_cred.h
index b4bfe38..cbf4d39 100644
--- a/src/tls/tlsv1_cred.h
+++ b/src/tls/tlsv1_cred.h
@@ -24,6 +24,8 @@ struct tlsv1_credentials {
size_t dh_p_len;
u8 *dh_g; /* generator */
size_t dh_g_len;
+
+ char *ocsp_stapling_response;
};