diff options
Diffstat (limited to 'lib/vtls/gskit.c')
-rw-r--r-- | lib/vtls/gskit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c index 130d82a81..b93ff5d4f 100644 --- a/lib/vtls/gskit.c +++ b/lib/vtls/gskit.c @@ -1266,8 +1266,10 @@ static int Curl_gskit_shutdown(struct connectdata *conn, int sockindex) if(!BACKEND->handle) return 0; +#ifndef CURL_DISABLE_FTP if(data->set.ftp_ccc != CURLFTPSSL_CCC_ACTIVE) return 0; +#endif close_one(connssl, conn, sockindex); rc = 0; |