summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-27 00:29:01 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-27 00:29:01 +0000
commiteb009ba1a0918b3cfbed3876ecb84ad8b972b61f (patch)
tree54b27aabfbc8339c84f3bcf45219a4c022f3db18
parenta2be003cf08a8868c5e4b1b111f6430644e16ae5 (diff)
downloadnss-hg-eb009ba1a0918b3cfbed3876ecb84ad8b972b61f.tar.gz
Bugzilla bug 86528: have tstclnt exit with 254 (= -2 mod 256) where it
was exiting with -2 before so that old test script that expects 254 continues to work. r=larryh. Modified Files: tstclnt.c sslauth.txt
-rw-r--r--security/nss/cmd/tstclnt/tstclnt.c2
-rw-r--r--security/nss/tests/ssl/sslauth.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/security/nss/cmd/tstclnt/tstclnt.c b/security/nss/cmd/tstclnt/tstclnt.c
index 1f2096a1b..5817c39ef 100644
--- a/security/nss/cmd/tstclnt/tstclnt.c
+++ b/security/nss/cmd/tstclnt/tstclnt.c
@@ -633,7 +633,7 @@ int main(int argc, char **argv)
if (err != PR_WOULD_BLOCK_ERROR) {
SECU_PrintError(progName,
"write to SSL socket failed");
- error=2;
+ error=254;
goto done;
}
cc = 0;
diff --git a/security/nss/tests/ssl/sslauth.txt b/security/nss/tests/ssl/sslauth.txt
index f4e088391..8e4a9c585 100644
--- a/security/nss/tests/ssl/sslauth.txt
+++ b/security/nss/tests/ssl/sslauth.txt
@@ -10,12 +10,12 @@
0 -r -w_nss_-n_TestUser TLS Request don't require client auth (client auth)
0 -r_-r -w_nss TLS Require client auth (client does not provide auth)
# this one should fail
- 2 -r_-r -w_bogus_-n_TestUser TLS Require client auth (bad password)
+ 254 -r_-r -w_bogus_-n_TestUser TLS Require client auth (bad password)
0 -r_-r -w_nss_-n_TestUser_ TLS Require client auth (client auth)
0 -r -T_-w_nss SSL3 Request don't require client auth (client does not provide auth)
0 -r -T_-n_TestUser_-w_bogus SSL3 Request don't require client auth (bad password)
0 -r -T_-n_TestUser_-w_nss SSL3 Request don't require client auth (client auth)
0 -r_-r -T_-w_nss SSL3 Require client auth (client does not provide auth)
# this one should fail
- 2 -r_-r -T_-n_TestUser_-w_bogus SSL3 Require client auth (bad password)
+ 254 -r_-r -T_-n_TestUser_-w_bogus SSL3 Require client auth (bad password)
0 -r_-r -T_-n_TestUser_-w_nss SSL3 Require client auth (client auth)