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 git-svn-id: svn://10.0.0.236/trunk@98001 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user