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

691 Коммитов

Автор SHA1 Сообщение Дата
nelsonb%netscape.com 05b9dba846 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 fdd0021538 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 96a4822448 Fix a crash caused by using a null PRFileDesc * after PR_Open fails. 2000-10-07 02:16:03 +00:00
wtc%netscape.com 8568a8e9d2 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 5d154d8d5f 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 90e2a74ac6 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 5afb009e51 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 c813d8dd66 Fix a crash that occurs when NSS is initialized with NSS_NoDB_Init. 2000-10-06 21:38:57 +00:00
nelsonb%netscape.com 5042645350 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 c37f533589 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 8627427998 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 2dd71c3c55 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 27506fb1b6 Bugzilla bug #54711: implemented the moz_import rule for OS/2. 2000-10-05 04:12:30 +00:00
nelsonb%netscape.com c916074eb3 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 a8bb31e2ef 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 9e5ed29057 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 70da3de4e7 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 8882eb9358 HPUX 64-bit also failed. 2000-10-05 02:47:43 +00:00
mcgreer%netscape.com c65d5e509e checked in wrong fix. 2000-10-05 02:41:09 +00:00
mcgreer%netscape.com 286b860d4f 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 4979496e5a workaround for bug #55234. optimized arcfour is not working on solaris 64-bit. 2000-10-05 01:33:54 +00:00
wtc%netscape.com dbc734c29c Backed out the previous checkin (which was not necessary). 2000-10-03 06:19:42 +00:00
wtc%netscape.com 8b7a47a6ec On Windows use cp -r to implement the moz_import rule. 2000-10-03 04:58:30 +00:00
wtc%netscape.com e4efb1f7c1 Added bltest. 2000-10-03 02:45:59 +00:00
ddrinan%netscape.com f9530e656a Allocate the padded result arena with the correct length 2000-10-03 00:58:39 +00:00
wtc%netscape.com c03119002d 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 37f88721c8 Fix bug 54956, and cleanup some other things. Warning reduction. 2000-10-03 00:36:53 +00:00
wtc%netscape.com 6f3f7bb91a 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 1f2ad178df Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build. 2000-10-02 22:52:43 +00:00
mcgreer%netscape.com 55b0cfddec 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 544ec0f11a 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 e295a48393 Added SunOS5.7_i86pc.mk. 2000-10-02 06:08:58 +00:00
wtc%netscape.com dcc518443a Bugzilla bug #39476: free the dbname in the success case. 2000-10-01 17:13:34 +00:00
wtc%netscape.com 8f9818ec7d Restored the printing of the runtime library search path. 2000-10-01 06:14:57 +00:00
wtc%netscape.com d73aad26aa Deleted an extra echo command. 2000-10-01 06:01:32 +00:00
wtc%netscape.com bc7b66ba1f Deleted an extra cp. 2000-10-01 05:09:17 +00:00
wtc%netscape.com 94c1f559e1 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 906deebf85 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 2444aa8c5e Added missing closing comment delimiter "*/". 2000-09-30 04:30:08 +00:00
nelsonb%netscape.com e118ef4f63 Incorporate multiplication performance enhancements for UltraSparc CPUs
with the VIS instructions.
2000-09-30 01:46:30 +00:00
nelsonb%netscape.com c206d3e3c8 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 efcc4dca6c 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 191a128491 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 431bb85395 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 84207edf1c add cipher and smime to the pantheon of nss tests. 2000-09-29 22:31:11 +00:00
mcgreer%netscape.com 81cb1fd3ce 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 ccd7cc788f changes to use blapitest on NT. 2000-09-29 22:27:14 +00:00
nelsonb%netscape.com 9b1d01f3fd Don't use type "ulong". Use "unsigned long" instead. 2000-09-29 19:51:32 +00:00
wtc%netscape.com af0f02a163 Initial NetBSD port contributed by Shin'ichiro TAYA <taya@sm.sony.co.jp>.
Modified Files:
    coreconf/config.mk nss/lib/util/unix_rand.c
Added Files:
    coreconf/NetBSD.mk
2000-09-29 17:42:39 +00:00
mcgreer%netscape.com 3ac9e05c1a initial checkin of smime test script. does signed-data, enveloped-data, encrypted-data, and certs-only (basic cases). 2000-09-29 16:39:13 +00:00