aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-20 12:18:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-20 12:18:08 +0000
commite6170eb20df55bc0b60dce4beec72ac44806b3e3 (patch)
tree626ab809610a421d586b697695040d9fb1773bed
parent2c80bcbc812d7906e84ea90bc351a85ebefbf910 (diff)
- Fixed test case 405 to not fail when libcurl is built with GnuTLS
-rw-r--r--CHANGES2
-rw-r--r--RELEASE-NOTES1
-rw-r--r--tests/data/test4057
3 files changed, 8 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 1c6dc19c6..d66e23ac9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,8 @@
Changelog
Daniel S (20 Feb 2008)
+- Fixed test case 405 to not fail when libcurl is built with GnuTLS
+
- Based on initial work done by Gautam Kachroo to address a bug, we now keep
better control at the exact state of the connection's SSL status so that we
know exactly when it has completed the SSL negotiation or not so that there
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 44b31da8c..4993be1fd 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -28,6 +28,7 @@ This release includes the following bugfixes:
o when using the multi interface and a handle is removed while still having
a transfer going on, the connection is now closed by force
o bad re-use of SSL connections in non-complete state
+ o test case 405 failures with GnuTLS builds
This release includes the following known bugs:
diff --git a/tests/data/test405 b/tests/data/test405
index 8560285ac..29e7af28e 100644
--- a/tests/data/test405
+++ b/tests/data/test405
@@ -18,14 +18,17 @@ ftp
FTPS operation to FTP port
</name>
<command>
--k ftps://%HOSTIP:%FTPPORT/path/to/file/405
+-m 5 -k ftps://%HOSTIP:%FTPPORT/path/to/file/405
</command>
</client>
# Verify data after the test has been "shot"
<verify>
+# error code 35 is CURLE_SSL_CONNECT_ERROR
+# GnuTLS seems to not fail on its handshake but instead times out which gives
+# error 28
<errorcode>
-35
+35,28
</errorcode>
</verify>
</testcase>