wtc%netscape.com
2e3c2cc514
Fixed the comment.
...
git-svn-id: svn://10.0.0.236/trunk@80915 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:21:38 +00:00
mcgreer%netscape.com
5fbd7e283b
also do binary on stdout DER
...
git-svn-id: svn://10.0.0.236/trunk@80914 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:12:45 +00:00
mcgreer%netscape.com
cf3a7c75cb
binary output always, for now
...
git-svn-id: svn://10.0.0.236/trunk@80913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:04:30 +00:00
mcgreer%netscape.com
fff90deec0
fix output of DER's on windows
...
git-svn-id: svn://10.0.0.236/trunk@80912 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:52:06 +00:00
wtc%netscape.com
4aa8f7ce09
Commented out 'rm -rf ${TEMPFILES}' because TEMPFILES is not defined.
...
git-svn-id: svn://10.0.0.236/trunk@80911 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:47:36 +00:00
wtc%netscape.com
b6b49443a3
Fixed the echo output to match the command.
...
git-svn-id: svn://10.0.0.236/trunk@80909 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:46:05 +00:00
mcgreer%netscape.com
e7afcf22fd
add a new function, SECU_TextFileToItem, for reading text files.
...
git-svn-id: svn://10.0.0.236/trunk@80875 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:56:32 +00:00
mcgreer%netscape.com
4ff87894d0
seperate text file reads from binary reads. Change all base64 encoded ciphertexts to end in LF instead of CRLF. This caused a bug on windows when checking out from CVS.
...
git-svn-id: svn://10.0.0.236/trunk@80874 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:55:45 +00:00
nelsonb%netscape.com
2b8c08c44f
Change the working directory to the test directory before running
...
certutil -S, which creates files in the current working directory.
git-svn-id: svn://10.0.0.236/trunk@80799 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 03:12:31 +00:00
wtc%netscape.com
45c91f68a1
Print NSPR and OS error codes if PR_Open fails.
...
git-svn-id: svn://10.0.0.236/trunk@80790 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:38:08 +00:00
nelsonb%netscape.com
ee37b23eff
All output messages from strsclnt now begin with the string "strsclnt: ".
...
This makes it easier to separate mixed client and server output.
git-svn-id: svn://10.0.0.236/trunk@80789 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:10:25 +00:00
nelsonb%netscape.com
41fa542495
When an invalid option is encountered, print the usage message and exit.
...
Previously, it would simply silently stop parsing options and the program
would continue to run, leading to false successes in coverage tests.
git-svn-id: svn://10.0.0.236/trunk@80761 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:39:46 +00:00
nelsonb%netscape.com
f845bee819
With this change, SSL will not crash if the next lower layer's Recv
...
function returns more data than we asked for. SSL will turn that event
into a PR_BUFFER_OVERFLOW_ERROR error. iWS team asked for this.
git-svn-id: svn://10.0.0.236/trunk@80640 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:22:22 +00:00
nelsonb%netscape.com
f2d9c67c2f
Fix a crash caused by using a null PRFileDesc * after PR_Open fails.
...
git-svn-id: svn://10.0.0.236/trunk@80638 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:16:03 +00:00
wtc%netscape.com
74faefc902
Changed //helium/dist to //iridium/components (another way to get
...
access to /share/builds/components from NT at Netscape/iPlanet).
git-svn-id: svn://10.0.0.236/trunk@80630 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:56:20 +00:00
nelsonb%netscape.com
9f8a17787d
In lib/smime, detect null pointers returned by various functions.
...
Christian Kaiser fixed the test script to pass the right directory name
to the test program. The test script echoes all the cmsutil test
commands so that the error messages are associated with the proper one.
And cmsutil now puts its name on the front of its error messages.
git-svn-id: svn://10.0.0.236/trunk@80613 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:26:12 +00:00
nelsonb%netscape.com
c9723eb5f8
Call NSS_InitReadWrite instead of SECU_PKCS11Init, and check the result
...
for success. Fixes a crash. If it turns out that cmsutil doesn't need
to modifiy the cert and/or key DBs, then it should call NSS_Init, instead.
git-svn-id: svn://10.0.0.236/trunk@80599 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:45:01 +00:00
nelsonb%netscape.com
ae5c056a86
Call NSS_NoDB_Init instead of that broken old SECU_PKCS11Init.
...
Also, test to see that the init succeeded.
git-svn-id: svn://10.0.0.236/trunk@80598 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:40:52 +00:00
nelsonb%netscape.com
2992ba478c
Fix a crash that occurs when NSS is initialized with NSS_NoDB_Init.
...
git-svn-id: svn://10.0.0.236/trunk@80597 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:38:57 +00:00
nelsonb%netscape.com
8cbcd9386e
Implement new function NSS_InitReadWrite, which is just like NSS_Init
...
except that it opens the files read/write. This is to replace the
broken SECU_ routines in nss/cmd/lib.
git-svn-id: svn://10.0.0.236/trunk@80596 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:37:25 +00:00
nelsonb%netscape.com
8ff433f882
The SSL client cache timeout values for SSL2 and SSL3 were reversed.
...
This caused all SSL3 sessions to timeout after 100 seconds. Bug 55231.
git-svn-id: svn://10.0.0.236/trunk@80517 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:10:14 +00:00
wtc%netscape.com
4b0d98c6e3
Bugzilla bug #55267 : checked in a workaround for a tight spin in
...
PK11_GetSlotList on 64-bit HP-UX.
git-svn-id: svn://10.0.0.236/trunk@80428 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:24:04 +00:00
nelsonb%netscape.com
0347ee2d5b
Prefix all selfserv's output messages with "selfserv: " so we can tell
...
client messages apart from server messages when the two are mixed.
When the verbose option is enabled, print out the session reuse stats
right after the first PR_Read completes, so we don't miss any.
git-svn-id: svn://10.0.0.236/trunk@80426 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:14:44 +00:00
wtc%netscape.com
99d3a2863d
Bugzilla bug #54711 : implemented the moz_import rule for OS/2.
...
git-svn-id: svn://10.0.0.236/trunk@80423 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:12:30 +00:00
nelsonb%netscape.com
ceda033fc8
3 Changes:
...
- Test SSL2 (not SSL3) when only SSL2 ciphers have been chosen.
- Use a different metric for determining when multiple full handshakes
have been done with SSL2. (Can't use SSL3's counters for that purpose.)
- When PR_Connect returns a "connection reset by peer" error, silently
retry the operation with a new socket.
git-svn-id: svn://10.0.0.236/trunk@80422 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:11:31 +00:00
nelsonb%netscape.com
430efa5c96
Change the client options so that we actually test SSL2 when we say
...
we're testing SSL2, and test SSL3 when we say we're testing SSL3.
git-svn-id: svn://10.0.0.236/trunk@80420 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:05:32 +00:00
nelsonb%netscape.com
4b7bd4b303
Make the "nocerts" option for this script work properly.
...
Also, add a new "verbose" option to this script.
git-svn-id: svn://10.0.0.236/trunk@80419 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:04:37 +00:00
nelsonb%netscape.com
42d9cfbecb
If $HOME or $DOMSUF is undefined, put out an error message and stop,
...
instead of going on and producing complicated and meaningless results.
git-svn-id: svn://10.0.0.236/trunk@80418 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:03:53 +00:00
mcgreer%netscape.com
3ccc35cfbf
HPUX 64-bit also failed.
...
git-svn-id: svn://10.0.0.236/trunk@80410 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:47:43 +00:00
mcgreer%netscape.com
187b6f59de
checked in wrong fix.
...
git-svn-id: svn://10.0.0.236/trunk@80409 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:41:09 +00:00
mcgreer%netscape.com
20f38c11e2
fix for bug #55190 . Some 64-bit platforms will not return an alloc'ed pointer from an undeclared function.
...
git-svn-id: svn://10.0.0.236/trunk@80404 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:39:35 +00:00
mcgreer%netscape.com
bf062edef7
workaround for bug #55234 . optimized arcfour is not working on solaris 64-bit.
...
git-svn-id: svn://10.0.0.236/trunk@80402 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:33:54 +00:00
wtc%netscape.com
c69a41d12e
Backed out the previous checkin (which was not necessary).
...
git-svn-id: svn://10.0.0.236/trunk@80252 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 06:19:42 +00:00
wtc%netscape.com
6a8256dce2
On Windows use cp -r to implement the moz_import rule.
...
git-svn-id: svn://10.0.0.236/trunk@80251 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 04:58:30 +00:00
wtc%netscape.com
4a3eaddaa4
Added bltest.
...
git-svn-id: svn://10.0.0.236/trunk@80243 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 02:45:59 +00:00
ddrinan%netscape.com
e35d2e721e
Allocate the padded result arena with the correct length
...
git-svn-id: svn://10.0.0.236/trunk@80234 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:39 +00:00
wtc%netscape.com
5671033c01
Bugzilla bug #54711 : removed unused variables MOZ_DIST and MOZ_LIB
...
from OS2.mk. Handle the different names of plc4 and plds4 libraries
on OS/2. Thanks to Huynh Trinh <hctrinh@us.ibm.com> for the patch.
Modified Files:
coreconf/OS2.mk nss/lib/ckfw/builtins/Makefile
nss/lib/fortcrypt/swfort/pkcs11/Makefile
git-svn-id: svn://10.0.0.236/trunk@80233 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:18 +00:00
nelsonb%netscape.com
8fb55c2b69
Fix bug 54956, and cleanup some other things. Warning reduction.
...
git-svn-id: svn://10.0.0.236/trunk@80231 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:36:53 +00:00
wtc%netscape.com
099ac124d2
Bugzilla bug #49477 : fixed memory leak in CERT_OpenCertDB. Have
...
certDBFilenameCallback duplicate the filename string so that its
return value can be freed.
git-svn-id: svn://10.0.0.236/trunk@80222 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:23:50 +00:00
wtc%netscape.com
890415bd51
Bugzilla bug #54869 : support gcc for 32-bit Solaris/SPARC build.
...
git-svn-id: svn://10.0.0.236/trunk@80221 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:52:43 +00:00
mcgreer%netscape.com
3bd32da764
fix problems encountered in shell script. it appears that "echo nss > passfile" creates a file with 6 bytes on NT using the dos shell. the added bytes were causing problems with password files, which this while loop attempted to fix. however, it broke DER-encoded input that has added whitespace at the end. this checkin returns SECU_FileToItem to it's original state, which blindly accepts whitespace characters at the end of the file.
...
the second change is forced because SECITEM_AllocItem asserts dst->data == NULL, and many NSS utilities pass uninitialized SECItem's around. In the future, those should be fixed, but for now zero the output buffer.
git-svn-id: svn://10.0.0.236/trunk@80219 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:30:27 +00:00
mcgreer%netscape.com
85581a8a3e
fix 3.1 bugs: change && to || for arg check, two new functions are static
...
git-svn-id: svn://10.0.0.236/trunk@80212 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 17:39:37 +00:00
wtc%netscape.com
916fc7046a
Added SunOS5.7_i86pc.mk.
...
git-svn-id: svn://10.0.0.236/trunk@80207 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 06:08:58 +00:00
wtc%netscape.com
7faf466ae7
Bugzilla bug #39476 : free the dbname in the success case.
...
git-svn-id: svn://10.0.0.236/trunk@80205 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 17:13:34 +00:00
wtc%netscape.com
fd9b927670
Restored the printing of the runtime library search path.
...
git-svn-id: svn://10.0.0.236/trunk@80202 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:14:57 +00:00
wtc%netscape.com
a8fc188120
Deleted an extra echo command.
...
git-svn-id: svn://10.0.0.236/trunk@80201 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:01:32 +00:00
wtc%netscape.com
ac46281515
Deleted an extra cp.
...
git-svn-id: svn://10.0.0.236/trunk@80196 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:09:17 +00:00
wtc%netscape.com
287ec3547d
Bugzilla bug #54711 : use full maci on OS/2. Thanks to hctrinh@us.ibm.com
...
(Huynh Trinh) for the patch.
git-svn-id: svn://10.0.0.236/trunk@80195 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:29:42 +00:00
wtc%netscape.com
0da76eea1e
Bugzilla bug #54711 : fixed a typo. Thanks to hctrinh@us.ibm.com
...
(Huynh Trinh) for the patch.
git-svn-id: svn://10.0.0.236/trunk@80193 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:17:56 +00:00
wtc%netscape.com
63d6c87d42
Added missing closing comment delimiter "*/".
...
git-svn-id: svn://10.0.0.236/trunk@80188 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 04:30:08 +00:00