Граф коммитов

694 Коммитов

Автор SHA1 Сообщение Дата
nelsonb%netscape.com 8ab6b279fa Change the working directory to the test directory before running
certutil -S, which creates files in the current working directory.
2000-10-10 03:12:31 +00:00
wtc%netscape.com 71514d144b Print NSPR and OS error codes if PR_Open fails. 2000-10-10 02:38:08 +00:00
nelsonb%netscape.com 05795d3093 All output messages from strsclnt now begin with the string "strsclnt: ".
This makes it easier to separate mixed client and server output.
2000-10-10 02:10:25 +00:00
nelsonb%netscape.com c42129b9e1 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.
2000-10-09 23:39:46 +00:00
nelsonb%netscape.com f3bd8bf0f9 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.
2000-10-07 02:22:22 +00:00
nelsonb%netscape.com 4b8083970d Fix a crash caused by using a null PRFileDesc * after PR_Open fails. 2000-10-07 02:16:03 +00:00
wtc%netscape.com f935325020 Changed //helium/dist to //iridium/components (another way to get
access to /share/builds/components from NT at Netscape/iPlanet).
2000-10-07 00:56:20 +00:00
nelsonb%netscape.com 0dcc56339a 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.
2000-10-06 23:26:12 +00:00
nelsonb%netscape.com 891739a6b6 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.
2000-10-06 21:45:01 +00:00
nelsonb%netscape.com 46917ae200 Call NSS_NoDB_Init instead of that broken old SECU_PKCS11Init.
Also, test to see that the init succeeded.
2000-10-06 21:40:52 +00:00
nelsonb%netscape.com 61173be584 Fix a crash that occurs when NSS is initialized with NSS_NoDB_Init. 2000-10-06 21:38:57 +00:00
nelsonb%netscape.com de0ea0970b 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.
2000-10-06 21:37:25 +00:00
nelsonb%netscape.com a6435a12ae The SSL client cache timeout values for SSL2 and SSL3 were reversed.
This caused all SSL3 sessions to timeout after 100 seconds. Bug 55231.
2000-10-05 23:10:14 +00:00
wtc%netscape.com ae1e7ed5c1 Bugzilla bug #55267: checked in a workaround for a tight spin in
PK11_GetSlotList on 64-bit HP-UX.
2000-10-05 04:24:04 +00:00
nelsonb%netscape.com f31174dc10 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.
2000-10-05 04:14:44 +00:00
wtc%netscape.com 6d220cccaf Bugzilla bug #54711: implemented the moz_import rule for OS/2. 2000-10-05 04:12:30 +00:00
nelsonb%netscape.com c9c5b1a9d4 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.
2000-10-05 04:11:31 +00:00
nelsonb%netscape.com 58f79efbbb 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.
2000-10-05 04:05:32 +00:00
nelsonb%netscape.com 0d1dd5436c Make the "nocerts" option for this script work properly.
Also, add a new "verbose" option to this script.
2000-10-05 04:04:37 +00:00
nelsonb%netscape.com 390dfe7e1e If $HOME or $DOMSUF is undefined, put out an error message and stop,
instead of going on and producing complicated and meaningless results.
2000-10-05 04:03:53 +00:00
mcgreer%netscape.com 35c22cbcf2 HPUX 64-bit also failed. 2000-10-05 02:47:43 +00:00
mcgreer%netscape.com 88346c571a checked in wrong fix. 2000-10-05 02:41:09 +00:00
mcgreer%netscape.com 4195729ff1 fix for bug #55190. Some 64-bit platforms will not return an alloc'ed pointer from an undeclared function. 2000-10-05 01:39:35 +00:00
mcgreer%netscape.com 3f1b1a73cd workaround for bug #55234. optimized arcfour is not working on solaris 64-bit. 2000-10-05 01:33:54 +00:00
wtc%netscape.com bba4bec879 Backed out the previous checkin (which was not necessary). 2000-10-03 06:19:42 +00:00
wtc%netscape.com f202747116 On Windows use cp -r to implement the moz_import rule. 2000-10-03 04:58:30 +00:00
wtc%netscape.com c9471a9f45 Added bltest. 2000-10-03 02:45:59 +00:00
ddrinan%netscape.com e02ca981e8 Allocate the padded result arena with the correct length 2000-10-03 00:58:39 +00:00
wtc%netscape.com c5d8f4217a 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
2000-10-03 00:58:18 +00:00
nelsonb%netscape.com a5d302379c Fix bug 54956, and cleanup some other things. Warning reduction. 2000-10-03 00:36:53 +00:00
wtc%netscape.com 6dc07aeb83 Bugzilla bug #49477: fixed memory leak in CERT_OpenCertDB. Have
certDBFilenameCallback duplicate the filename string so that its
return value can be freed.
2000-10-02 23:23:50 +00:00
wtc%netscape.com 93f65d5f7b Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build. 2000-10-02 22:52:43 +00:00
mcgreer%netscape.com 5f4187e3f7 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.
2000-10-02 22:30:27 +00:00
mcgreer%netscape.com bd2ab5b7da fix 3.1 bugs: change && to || for arg check, two new functions are static 2000-10-02 17:39:37 +00:00
wtc%netscape.com ad9247fc0a Added SunOS5.7_i86pc.mk. 2000-10-02 06:08:58 +00:00
wtc%netscape.com 6b721f3f92 Bugzilla bug #39476: free the dbname in the success case. 2000-10-01 17:13:34 +00:00
wtc%netscape.com edd2aab64b Restored the printing of the runtime library search path. 2000-10-01 06:14:57 +00:00
wtc%netscape.com 57afdf3d97 Deleted an extra echo command. 2000-10-01 06:01:32 +00:00
wtc%netscape.com 270d86d952 Deleted an extra cp. 2000-10-01 05:09:17 +00:00
wtc%netscape.com 3865b18474 Bugzilla bug #54711: use full maci on OS/2. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.
2000-10-01 03:29:42 +00:00
wtc%netscape.com f0b555c21c Bugzilla bug #54711: fixed a typo. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.
2000-10-01 03:17:56 +00:00
wtc%netscape.com 5d785c6eba Added missing closing comment delimiter "*/". 2000-09-30 04:30:08 +00:00
nelsonb%netscape.com e7da436857 Incorporate multiplication performance enhancements for UltraSparc CPUs
with the VIS instructions.
2000-09-30 01:46:30 +00:00
nelsonb%netscape.com 10aeeb3d29 The Initial Developer of the Original Code is Netscape Communications
Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.
All Rights Reserved.
2000-09-30 01:43:27 +00:00
wtc%netscape.com f5e007fc60 Bugzilla bug #52904: deleted all the PKLITE and COMPRESS_TARGET stuff,
which is no longer needed.  This removes the requirement of 'which' on
Windows.
Modified files: ruleset.mk, rules.mk
2000-09-30 00:56:57 +00:00
nelsonb%netscape.com 5ea2a0c48e The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1999-2000 Sun Microsystems Inc.  All Rights Reserved.
2000-09-29 23:39:30 +00:00
nelsonb%netscape.com ee5cb383f1 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1995-2000 Sun Microsystems Inc.  All Rights Reserved.
2000-09-29 23:38:05 +00:00
mcgreer%netscape.com eda65c6bd0 add cipher and smime to the pantheon of nss tests. 2000-09-29 22:31:11 +00:00
mcgreer%netscape.com 1516f75361 change for BSAFE. on windows, nsinstall will do copy instead of link.
need to forcibly remove library before attempting to reinstall.
2000-09-29 22:30:09 +00:00
mcgreer%netscape.com 21425fe026 changes to use blapitest on NT. 2000-09-29 22:27:14 +00:00