From f1a47988b0bd35c44b08c1416b98e283fb3c3e77 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 11 Mar 2015 14:04:45 +0100 Subject: [PATCH] added comment --- ext/ftp/ftp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index abe8e89ca7..20f8cb930f 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -298,6 +298,7 @@ ftp_login(ftpbuf_t *ftp, const char *user, const char *pass) SSL_set_fd(ftp->ssl_handle, ftp->fd); + /* TODO check SSL_get_error() and poll on failure */ if (SSL_connect(ftp->ssl_handle) <= 0) { php_error_docref(NULL, E_WARNING, "SSL/TLS handshake failed"); SSL_shutdown(ftp->ssl_handle); -- 2.40.0