Skip to content
Snippets Groups Projects
Unverified Commit 52c30579 authored by psychocrypt's avatar psychocrypt Committed by GitHub
Browse files

Merge pull request #681 from fireice-uk/topic-tls-error

Clearer TLS error
parents 2ae7260b 4874d681
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ void tls_socket::print_error()
if(jconf::inst()->TlsSecureAlgos())
pCallback->set_socket_error("Unknown TLS error. Secure TLS maybe unsupported, try setting tls_secure_algo to false.");
else
pCallback->set_socket_error("Unknown TLS error.");
pCallback->set_socket_error("Unknown TLS error. You might be trying to connect to a non-TLS port.");
}
else
pCallback->set_socket_error(buf, len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment