TLS server: OCSP stapling with ocsp_multi option (RFC 6961)
This allows hostapd with the internal TLS server implementation to support the extended OCSP stapling mechanism with multiple responses (ocsp_stapling_response_multi). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5addb0df59
commit
8ea6a27003
7 changed files with 148 additions and 30 deletions
|
@ -334,6 +334,9 @@ int tls_global_set_params(void *tls_ctx,
|
|||
if (params->ocsp_stapling_response)
|
||||
cred->ocsp_stapling_response =
|
||||
os_strdup(params->ocsp_stapling_response);
|
||||
if (params->ocsp_stapling_response_multi)
|
||||
cred->ocsp_stapling_response_multi =
|
||||
os_strdup(params->ocsp_stapling_response_multi);
|
||||
|
||||
return 0;
|
||||
#else /* CONFIG_TLS_INTERNAL_SERVER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue