summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/vtls/mesalink.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-07-18 16:27:13 +0300
committerdartraiden <wowemuh@gmail.com>2019-07-18 16:28:43 +0300
commitfed632f293b2ac474f5da2d65f35c92867bdaebc (patch)
tree7c9c7f9077c756f09b9bc113cf3d706ac153e62a /libs/libcurl/src/vtls/mesalink.c
parent9451639c7300d806afe81ef5dc680f8f4472f6f8 (diff)
libcurl: update to 7.65.2
Diffstat (limited to 'libs/libcurl/src/vtls/mesalink.c')
-rw-r--r--libs/libcurl/src/vtls/mesalink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libcurl/src/vtls/mesalink.c b/libs/libcurl/src/vtls/mesalink.c
index 718c282ee5..7ca4f0eac5 100644
--- a/libs/libcurl/src/vtls/mesalink.c
+++ b/libs/libcurl/src/vtls/mesalink.c
@@ -265,7 +265,6 @@ mesalink_connect_step2(struct connectdata *conn, int sockindex)
ret = SSL_connect(BACKEND->handle);
if(ret != SSL_SUCCESS) {
- char error_buffer[MESALINK_MAX_ERROR_SZ];
int detail = SSL_get_error(BACKEND->handle, ret);
if(SSL_ERROR_WANT_CONNECT == detail || SSL_ERROR_WANT_READ == detail) {
@@ -273,6 +272,7 @@ mesalink_connect_step2(struct connectdata *conn, int sockindex)
return CURLE_OK;
}
else {
+ char error_buffer[MESALINK_MAX_ERROR_SZ];
failf(data,
"SSL_connect failed with error %d: %s",
detail,