mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
updated for the new SSL -k
added two new tests to test the absense of -k to insecure SSL sites
This commit is contained in:
parent
87c43517cd
commit
c0790ccf08
@ -16,5 +16,4 @@ test105 test114 test123 test19 test24 test302 test43 test31 \
|
|||||||
test106 test115 test124 test190 test25 test303 test44 test38 \
|
test106 test115 test124 test190 test25 test303 test44 test38 \
|
||||||
test107 test116 test125 test2 test26 test33 test45 test126 \
|
test107 test116 test125 test2 test26 test33 test45 test126 \
|
||||||
test304 test39 test32 test128 test48 \
|
test304 test39 test32 test128 test48 \
|
||||||
test130 test131 test132 test133 test134 test135
|
test130 test131 test132 test133 test134 test135 test403 test305
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ MooMoo
|
|||||||
simple HTTPS GET
|
simple HTTPS GET
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
https://%HOSTIP:%HTTPSPORT/300
|
-k https://%HOSTIP:%HTTPSPORT/300
|
||||||
</command>
|
</command>
|
||||||
</test>
|
</test>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ Funny-head: yesyes
|
|||||||
HTTPS GET with user and password
|
HTTPS GET with user and password
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
-u fake:user https://%HOSTIP:%HTTPSPORT/2
|
-k -u fake:user https://%HOSTIP:%HTTPSPORT/2
|
||||||
</command>
|
</command>
|
||||||
</test>
|
</test>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
HTTPS GET over HTTP proxy fails
|
HTTPS GET over HTTP proxy fails
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
-U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302
|
-k -U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302
|
||||||
</command>
|
</command>
|
||||||
</test>
|
</test>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ blablabla
|
|||||||
HTTPS multipart formpost
|
HTTPS multipart formpost
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
https://%HOSTIP:%HTTPSPORT/we/want/304 -F name=daniel -F tool=curl -F file=@log/test304.txt
|
-k https://%HOSTIP:%HTTPSPORT/we/want/304 -F name=daniel -F tool=curl -F file=@log/test304.txt
|
||||||
</command>
|
</command>
|
||||||
# We create this file before the command is invoked!
|
# We create this file before the command is invoked!
|
||||||
<file name="log/test304.txt">
|
<file name="log/test304.txt">
|
||||||
|
@ -23,7 +23,7 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
|
|||||||
FTPS dir list PASV
|
FTPS dir list PASV
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
ftps://%HOSTIP:%FTPSPORT/
|
-k ftps://%HOSTIP:%FTPSPORT/
|
||||||
</command>
|
</command>
|
||||||
<file name="log/ftpserver.cmd">
|
<file name="log/ftpserver.cmd">
|
||||||
REPLY EPSV 500 no such command
|
REPLY EPSV 500 no such command
|
||||||
|
@ -9,7 +9,7 @@ moooooooo
|
|||||||
FTPS download with strict timeout and slow CWD
|
FTPS download with strict timeout and slow CWD
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
ftps://%HOSTIP:%FTPSPORT/path/to/file/401 -m 4
|
-k ftps://%HOSTIP:%FTPSPORT/path/to/file/401 -m 4
|
||||||
</command>
|
</command>
|
||||||
<file name="log/ftpserver.cmd">
|
<file name="log/ftpserver.cmd">
|
||||||
DELAY CWD 15
|
DELAY CWD 15
|
||||||
|
@ -9,7 +9,7 @@ moooooooo
|
|||||||
FTPS operation to FTP port
|
FTPS operation to FTP port
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
ftps://%HOSTIP:%FTPPORT/path/to/file/402
|
-k ftps://%HOSTIP:%FTPPORT/path/to/file/402
|
||||||
</command>
|
</command>
|
||||||
</test>
|
</test>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user