Skip to content
Snippets Groups Projects
Commit 455087fa authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Use gnutls_strerror() for clearer error message.

parent 31def9e2
No related branches found
No related tags found
No related merge requests found
......@@ -168,8 +168,7 @@ static CURLcode handshake(struct connectdata *conn,
} while(1);
if (rc < 0) {
failf(data, "gnutls_handshake() failed: %d", rc);
/* gnutls_perror(ret); */
failf(data, "gnutls_handshake() failed: %s", gnutls_strerror(rc));
return CURLE_SSL_CONNECT_ERROR;
}
......
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