We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://wiki.openssl.org/index.php/Hostname_validation
Instead of amqp_ssl_socket_set_verify_hostname, it's better to have a function like this:
amqp_ssl_socket_set_verify_hostname
AMQP_PUBLIC_FUNCTION void AMQP_CALL amqp_ssl_socket_set_xxx(amqp_socket_t *self, const void *hostname, size_t n);
and do something like that:
X509_VERIFY_PARAM * param = SSL_CTX_get0_param(((amqp_ssl_socket_t *)self)->ctx); X509_VERIFY_PARAM_set1_host(param, hostname, n);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://wiki.openssl.org/index.php/Hostname_validation
Instead of
amqp_ssl_socket_set_verify_hostname
, it's better to have a function like this:and do something like that:
The text was updated successfully, but these errors were encountered: