]> granicus.if.org Git - php/commitdiff
added comment
authorAnatol Belski <ab@php.net>
Wed, 11 Mar 2015 13:04:45 +0000 (14:04 +0100)
committerAnatol Belski <ab@php.net>
Wed, 11 Mar 2015 20:46:39 +0000 (21:46 +0100)
ext/ftp/ftp.c

index abe8e89ca7f5109a528d03207b6f531f043e97ee..20f8cb930f329fc36bec9334193bed8132f1ad89 100644 (file)
@@ -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);