Skip to content

Commit d7729b6

Browse files
kronthtocmb69
andauthored
Update docs for ftp_ssl_connect about missing verification (GH-3915)
Change/Clarify that at the moment no verification is happening at all Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
1 parent 3a19c46 commit d7729b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/ftp/functions/ftp-ssl-connect.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<function>ftp_ssl_connect</function> opens an <emphasis>explicit</emphasis> SSL-FTP connection to the
1818
specified <parameter>hostname</parameter>. That implies that
1919
<function>ftp_ssl_connect</function> will succeed even if the server is not
20-
configured for SSL-FTP, or its certificate is invalid. Only when
21-
<function>ftp_login</function> is called, the client will send the
22-
appropriate AUTH FTP command, so <function>ftp_login</function> will fail in
23-
the mentioned cases.
20+
configured for SSL-FTP. Only when <function>ftp_login</function> is called, the client will send the
21+
appropriate AUTH FTP command, so <function>ftp_login</function> will fail.
22+
The connection established by <function>ftp_ssl_connect</function> will <emphasis>not</emphasis> do
23+
peer-certificate verification.
2424
</para>
2525
<note>
2626
<title>Why this function may not exist</title>

0 commit comments

Comments
 (0)