26RCSIDH(tls_strerror_h,
"$Id: 1e608973084aee48e021f00e0becc005fc3c5869 $")
28#include "openssl_user_macros.h"
30#include <openssl/x509.h>
45#define fr_tls_strerror_push_chain(_chain, _leaf) \
46 _fr_tls_strerror_push_chain( __FILE__, __LINE__, _chain, _leaf)
47void _fr_tls_strerror_push_chain(
char const *
file,
int line, STACK_OF(X509) *chain, X509 *cert);
55#define fr_tls_strerror_push_chain_marker(_chain, _leaf, _marker) \
56 _fr_tls_strerror_push_chain( __FILE__, __LINE__, _chain, _leaf, _marker)
57void _fr_tls_strerror_push_chain_marker(
char const *
file,
int line,
58 STACK_OF(X509) *chain, X509 *cert, X509 *marker);
64#define fr_tls_strerror_push_x509_objects(_objects) \
65 _fr_tls_strerror_push_x509_objects( __FILE__, __LINE__, _objects)
66void _fr_tls_strerror_push_x509_objects(
char const *
file,
int line,
67 STACK_OF(X509_OBJECT) *objects);
69#define fr_tls_strerror_vprintf(_msg, _ap) \
70 _fr_tls_strerror_vprintf(__FILE__, __LINE__, _msg, _ap)
71int _fr_tls_strerror_vprintf(
char const *
file,
int line,
char const *
msg, va_list ap);
79#define fr_tls_strerror_printf(_msg, ...) \
80 _fr_tls_strerror_printf(__FILE__, __LINE__, _msg, ##__VA_ARGS__)
82static inline CC_HINT(format (printf, 3, 4))
83int _fr_tls_strerror_printf(
char const *
file,
int line,
char const *
msg, ...)
89 ret = _fr_tls_strerror_vprintf(
file,
line,
msg, ap);
95int fr_tls_strerror_drain(
void);