Update error buffer size used for SSL_strerror()
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user