Hello,
I am new to openssl, but it seems the following may be a bug. When connecting to a hostname in the form, 100.100.100.100.compute-1.amazonaws.com, the following error is generated: error:2006A066:BIO routines:BIO_get_host_ip:bad hostname lookupError.. When the same hostname is used from the command line, it works fine. openssl s_client -connect 100.100.100.100.compute-1.amazonaws.com:80-state -nbio -no_tls1 2>&1 | grep "^SSL". The source code specifies the host name in one function call, and the port in another. If i change the hostname to ONLY the IP address part, it works fine. Could the DNS resolver interface be mistaking the hostname for an IP address that is malformed with additional trailing characters? Thoughts? --Eric ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
