]> granicus.if.org Git - curl/commitdiff
tests: Updated CRAM-MD5 tests to use test user details
authorSteve Holme <steve_holme@hotmail.com>
Tue, 12 Nov 2013 09:42:59 +0000 (09:42 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 12 Nov 2013 09:46:30 +0000 (09:46 +0000)
tests/data/test867
tests/data/test905

index 639009ce1cd008c9c2d4784b0a347fddb7965868..15ccc613602e1df81033e7c5c89e3ce60e61f75e 100644 (file)
@@ -14,8 +14,8 @@ RFC5034
 <reply>
 <servercmd>
 AUTH CRAM-MD5
-REPLY AUTH + PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+
-REPLY dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw +OK Login successful
+REPLY AUTH + PDE5NzIuOTg3NjU0MzIxQGN1cmw+
+REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== +OK Login successful
 </servercmd>
 <data>
 From: me@somewhere\r
@@ -41,7 +41,7 @@ crypto
 POP3 CRAM-MD5 authentication
  </name>
  <command>
-pop3://%HOSTIP:%POP3PORT/867 -u tim:tanstaaftanstaaf
+pop3://%HOSTIP:%POP3PORT/867 -u user:secret
 </command>
 </client>
 
@@ -51,7 +51,7 @@ pop3://%HOSTIP:%POP3PORT/867 -u tim:tanstaaftanstaaf
 <protocol>
 CAPA\r
 AUTH CRAM-MD5\r
-dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw\r
+dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==\r
 RETR 867\r
 QUIT\r
 </protocol>
index 8d8d9114f1e599e3738f4056e478a787a3f3ed03..896284d39f537d2184a54c947613e0060c949398 100644 (file)
@@ -13,8 +13,8 @@ RFC4954
 <reply>
 <servercmd>
 AUTH CRAM-MD5
-REPLY AUTH 334 PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+
-REPLY dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw 235 Authenticated
+REPLY AUTH 334 PDE5NzIuOTg3NjU0MzIxQGN1cmw+
+REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 235 Authenticated
 </servercmd>
 </reply>
 
@@ -34,7 +34,7 @@ SMTP CRAM-MD5 authentication
 mail body\r
 </stdin>
  <command>
-smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u tim:tanstaaftanstaaf -T -
+smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
 </command>
 </client>
 
@@ -44,7 +44,7 @@ smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sende
 <protocol>
 EHLO 905\r
 AUTH CRAM-MD5\r
-dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw\r
+dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==\r
 MAIL FROM:<sender@example.com>\r
 RCPT TO:<recipient@example.com>\r
 DATA\r