2 #ifndef librabbitmq_amqp_openssl_hostname_validation_h
3 #define librabbitmq_amqp_openssl_hostname_validation_h
34 #include <openssl/x509v3.h>
38 AMQP_HVR_MATCH_NOT_FOUND,
39 AMQP_HVR_NO_SAN_PRESENT,
40 AMQP_HVR_MALFORMED_CERTIFICATE,
42 } amqp_hostname_validation_result;
56 amqp_hostname_validation_result amqp_ssl_validate_hostname(
57 const char *hostname,
const X509 *server_cert);