26 RCSIDH(validate_h,
"$Id: 18ee4f23654526ead1949e66139721e027bf2a3d $")
28 #include "openssl_user_macros.h"
30 #include <openssl/ssl.h>
31 #include <openssl/err.h>
41 FR_TLS_VALIDATION_INIT = 0,
42 FR_TLS_VALIDATION_REQUESTED,
43 FR_TLS_VALIDATION_SUCCESS,
44 FR_TLS_VALIDATION_FAILED
45 } fr_tls_validation_state_t;
48 FR_TLS_VERIFY_MODE_DISABLED = 0,
49 FR_TLS_VERIFY_MODE_LEAF = 0x01,
50 FR_TLS_VERIFY_MODE_ISSUER = 0x02,
51 FR_TLS_VERIFY_MODE_UNTRUSTED = 0x04,
52 FR_TLS_VERIFY_MODE_ALL =
53 FR_TLS_VERIFY_MODE_LEAF |
54 FR_TLS_VERIFY_MODE_ISSUER |
55 FR_TLS_VERIFY_MODE_UNTRUSTED
56 } fr_tls_verify_mode_t;
63 fr_tls_validation_state_t state;
79 int fr_tls_verify_cert_cb(
int ok, X509_STORE_CTX *ctx);
81 int fr_tls_verify_cert_chain(
request_t *request, SSL *ssl);
83 bool fr_tls_verify_cert_result(fr_tls_session_t *tls_session);
85 void fr_tls_verify_cert_reset(fr_tls_session_t *tls_session);
87 void fr_tls_verify_cert_request(fr_tls_session_t *tls_session,
bool resumed);
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
rlm_rcode_t
Return codes indicating the result of the module call.