cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
tls_chain.h
Go to the documentation of this file.
1#ifndef CWIST_NET_HTTP_TLS_CHAIN_H
2#define CWIST_NET_HTTP_TLS_CHAIN_H
3
4#include <openssl/ssl.h>
5
7
8/* Bounded retention for the BoringSSL server-side session cache.
9 * CWIST_TLS_SESS_CACHE_SIZE cached getter (implemented in tls_chain.c):
10 * the cache cap applied to every server SSL_CTX; 0 keeps the BoringSSL
11 * default (no explicit cap). See docs/runtime-config.md. */
12unsigned long cwist_tls_sess_cache_size(void);
13
14#endif /* CWIST_NET_HTTP_TLS_CHAIN_H */
mbedTLS TLS backend: OpenSSL-shaped seam over the CWIST TLS subset.
struct cwist_mtls_ctx SSL_CTX
Definition ssl.h:43
int cwist_tls_autoload_intermediates(SSL_CTX *ssl_ctx)
Autoload missing intermediate CA certificates into an SSL_CTX chain.
Definition tls_chain.c:568
unsigned long cwist_tls_sess_cache_size(void)
Definition tls_chain.c:537