diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-02-09 19:01:15 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-02-09 19:01:15 +0000 |
commit | 92f7606f29b70451b2f7c5a033459b895055856c (patch) | |
tree | d2eba38aa3d6adce8217c99527d53e518b4a4431 /tests | |
parent | fd52530b50baf8e1d21cb081a3a4bb9f25feeec1 (diff) | |
download | curl-92f7606f29b70451b2f7c5a033459b895055856c.tar.gz |
smtp: Fixed an issue when processing EHLO failure responses (Part 3)
Follow up fix to commit 62bd21746443 to cater for servers that don't
respond with a 250 in their EHLO responses. Additionally updated the
SMTP tests to respond with a 250 response code as per RFC5321.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test805 | 2 | ||||
-rw-r--r-- | tests/data/test806 | 2 | ||||
-rw-r--r-- | tests/data/test807 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/test805 b/tests/data/test805 index 4595221c9..d124e40e7 100644 --- a/tests/data/test805 +++ b/tests/data/test805 @@ -12,7 +12,7 @@ RFC4954 # Server-side <reply> <servercmd> -REPLY EHLO 220 AUTH PLAIN +REPLY EHLO 250 AUTH PLAIN REPLY AUTH 235 Authenticated </servercmd> </reply> diff --git a/tests/data/test806 b/tests/data/test806 index b71ac5cce..9d1c98814 100644 --- a/tests/data/test806 +++ b/tests/data/test806 @@ -11,7 +11,7 @@ RFC4954 # Server-side <reply> <servercmd> -REPLY EHLO 220 AUTH LOGIN +REPLY EHLO 250 AUTH LOGIN REPLY AUTH 334 UGFzc3dvcmQ6 REPLY MTIzNA== 235 Authenticated </servercmd> diff --git a/tests/data/test807 b/tests/data/test807 index d171ffabc..4165a1553 100644 --- a/tests/data/test807 +++ b/tests/data/test807 @@ -12,7 +12,7 @@ RFC4954 # Server-side <reply> <servercmd> -REPLY EHLO 220 AUTH CRAM-MD5 +REPLY EHLO 250 AUTH CRAM-MD5 REPLY AUTH 334 PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+ REPLY dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw 235 Authenticated </servercmd> |