ocserv: pre-load the OCSP response file

That allows the worker processes to serve OCSP responses, even when they
have no access to the actual file.
This commit is contained in:
Nikos Mavrogiannopoulos
2016-11-11 09:17:29 +01:00
parent e9ea737707
commit bcb2ec6505
2 changed files with 40 additions and 5 deletions

View File

@@ -52,6 +52,7 @@ typedef struct tls_st {
gnutls_psk_server_credentials_t pskcred;
gnutls_priority_t cprio;
gnutls_dh_params_t dh_params;
gnutls_datum_t ocsp_response;
} tls_st;
void tls_reload_crl(struct main_server_st* s, struct tls_st *creds, unsigned force);