Home
last modified time | relevance | path

Searched refs:ocsp_staple (Results 1 – 3 of 3) sorted by relevance

/dragonfly/crypto/libressl/tls/
H A Dtls_ocsp.c343 unsigned char *ocsp_staple = NULL; in tls_ocsp_stapling_cb() local
349 if (ctx->keypair == NULL || ctx->keypair->ocsp_staple == NULL || in tls_ocsp_stapling_cb()
353 if ((ocsp_staple = malloc(ctx->keypair->ocsp_staple_len)) == NULL) in tls_ocsp_stapling_cb()
356 memcpy(ocsp_staple, ctx->keypair->ocsp_staple, in tls_ocsp_stapling_cb()
359 if (SSL_set_tlsext_status_ocsp_resp(ctx->ssl_conn, ocsp_staple, in tls_ocsp_stapling_cb()
366 free(ocsp_staple); in tls_ocsp_stapling_cb()
H A Dtls_keypair.c108 &keypair->ocsp_staple, &keypair->ocsp_staple_len); in tls_keypair_set_ocsp_staple_file()
115 return tls_set_mem(&keypair->ocsp_staple, &keypair->ocsp_staple_len, in tls_keypair_set_ocsp_staple_mem()
128 free(keypair->ocsp_staple); in tls_keypair_free()
H A Dtls_internal.h60 char *ocsp_staple; member