mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
Use gnutls_strerror() for clearer error message.
This commit is contained in:
parent
31def9e217
commit
455087faae
@ -168,8 +168,7 @@ static CURLcode handshake(struct connectdata *conn,
|
|||||||
} while(1);
|
} while(1);
|
||||||
|
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
failf(data, "gnutls_handshake() failed: %d", rc);
|
failf(data, "gnutls_handshake() failed: %s", gnutls_strerror(rc));
|
||||||
/* gnutls_perror(ret); */
|
|
||||||
return CURLE_SSL_CONNECT_ERROR;
|
return CURLE_SSL_CONNECT_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user