aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-17 05:05:57 +0000
committerYang Tse <yangsita@gmail.com>2006-07-17 05:05:57 +0000
commitf3c508f6e8b98ac601fbe2ad7312c2d70d3b4714 (patch)
tree3d38ebfe4634f9d103e62053321a66649db4c197
parent2aa47107451e62c395bb4b48bffc27e8d00ef8e8 (diff)
Update error buffer size used for SSL_strerror()
-rw-r--r--lib/ssluse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index d0dc7ddfa..5e91427f3 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -1407,8 +1407,8 @@ Curl_ossl_connect_step2(struct connectdata *conn,
else {
/* untreated error */
unsigned long errdetail;
- char error_buffer[120]; /* OpenSSL documents that this must be at least
- 120 bytes long. */
+ char error_buffer[256]; /* OpenSSL documents that this must be at least
+ 256 bytes long. */
CURLcode rc;
const char *cert_problem = NULL;