diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2020-06-26 08:59:24 +0000 |
---|---|---|
committer | Alex Kiernan <alex.kiernan@hivehome.com> | 2020-07-03 14:11:37 +0100 |
commit | 691df98d51955f7f24b34332ad867b6d69093ae0 (patch) | |
tree | c21e96bbfe2d64c1e2ad2ed350199add4660337c /lib/vtls/gtls.c | |
parent | ef86daf4d39e99b227d42bb712000c9adfdbdf76 (diff) | |
download | curl-691df98d51955f7f24b34332ad867b6d69093ae0.tar.gz |
gnutls: Fetch backend when using proxy
Fixes: 89865c149 ("gnutls: remove the BACKEND define kludge")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Diffstat (limited to 'lib/vtls/gtls.c')
-rw-r--r-- | lib/vtls/gtls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c index 9b4c3659a..02d0825e5 100644 --- a/lib/vtls/gtls.c +++ b/lib/vtls/gtls.c @@ -1382,6 +1382,7 @@ static bool Curl_gtls_data_pending(const struct connectdata *conn, res = TRUE; connssl = &conn->proxy_ssl[connindex]; + backend = connssl->backend; if(backend->session && 0 != gnutls_record_check_pending(backend->session)) res = TRUE; |