26 RCSIDH(cache_h,
"$Id: 0c925ca90e434d3242d8a904a069ca64431425e8 $")
28 #include "openssl_user_macros.h"
30 #include <openssl/ssl.h>
31 #include <openssl/err.h>
44 FR_TLS_CACHE_STORE_INIT = 0,
45 FR_TLS_CACHE_STORE_REQUESTED,
47 FR_TLS_CACHE_STORE_PERSISTED,
48 } fr_tls_cache_store_state_t;
57 FR_TLS_CACHE_LOAD_INIT = 0,
58 FR_TLS_CACHE_LOAD_REQUESTED,
59 FR_TLS_CACHE_LOAD_RETRIEVED,
60 FR_TLS_CACHE_LOAD_FAILED,
61 } fr_tls_cache_load_state_t;
69 FR_TLS_CACHE_CLEAR_INIT = 0,
70 FR_TLS_CACHE_CLEAR_REQUESTED,
71 } fr_tls_cache_clear_state_t;
78 fr_tls_cache_store_state_t state;
83 fr_tls_cache_load_state_t state;
89 fr_tls_cache_clear_state_t state;
104 uint8_t *fr_tls_cache_id(TALLOC_CTX *ctx, SSL_SESSION *sess);
108 void fr_tls_cache_deny(
request_t *request, fr_tls_session_t *tls_session);
110 int fr_tls_cache_disable_cb(SSL *ssl,
int is_forward_secure);
112 void fr_tls_cache_session_alloc(fr_tls_session_t *tls_session);
114 int fr_tls_cache_ctx_init(SSL_CTX *ctx, fr_tls_cache_conf_t
const *cache_conf);
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
#define store(_store, _var)