aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index ea984a6c7..3469c33b1 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -273,8 +273,8 @@ int GetLastResponse(int sockfd, char *buf,
break;
default:
#ifdef USE_SSLEAY
- if (data->use_ssl) {
- keepon = SSL_read(data->ssl, ptr, 1);
+ if (data->ssl.use) {
+ keepon = SSL_read(data->ssl.handle, ptr, 1);
}
else {
#endif