MCPcopy Create free account
hub / github.com/apache/httpd / stapling_set_response

Function stapling_set_response

modules/ssl/ssl_util_stapling.c:374–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374static int stapling_set_response(SSL *ssl, OCSP_RESPONSE *rsp)
375{
376 int rspderlen;
377 unsigned char *rspder = NULL;
378
379 rspderlen = i2d_OCSP_RESPONSE(rsp, &rspder);
380 if (rspderlen <= 0)
381 return 0;
382 SSL_set_tlsext_status_ocsp_resp(ssl, rspder, rspderlen);
383 return 1;
384}
385
386static int stapling_check_response(server_rec *s, modssl_ctx_t *mctx,
387 certinfo *cinf, OCSP_RESPONSE *rsp,

Callers 1

stapling_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected