Update error buffer size used for SSL_strerror()

This commit is contained in:
Yang Tse 2006-07-17 05:05:57 +00:00
parent 2aa4710745
commit f3c508f6e8

View File

@ -1407,8 +1407,8 @@ Curl_ossl_connect_step2(struct connectdata *conn,
else { else {
/* untreated error */ /* untreated error */
unsigned long errdetail; unsigned long errdetail;
char error_buffer[120]; /* OpenSSL documents that this must be at least char error_buffer[256]; /* OpenSSL documents that this must be at least
120 bytes long. */ 256 bytes long. */
CURLcode rc; CURLcode rc;
const char *cert_problem = NULL; const char *cert_problem = NULL;