From: Anatol Belski Date: Wed, 11 Mar 2015 13:04:45 +0000 (+0100) Subject: added comment X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~698 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1a47988b0bd35c44b08c1416b98e283fb3c3e77;p=php added comment --- 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);