Use gnutls_strerror() for clearer error message.

This commit is contained in:
Gisle Vanem 2006-08-16 17:05:54 +00:00
parent 31def9e217
commit 455087faae
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}