Facilitates memory leak testing of the SMIME library.
This revision combines the patches for Bugzilla bug 225513 and
Bugscape bug 53775. r = relyea and wchang0222
git-svn-id: svn://10.0.0.236/trunk@149575 18797224-902f-48f8-a5cc-f745e15eee43
1. Fixes the Usage message to document the command line options.
2. Changes the "decode" function to
a) report an error on bad signatures, only when decoding the input file,
not when decoding an ancillary "enveloped file".
b) only output the contents of the "detached content" file (-c option)
when that file's content was actually used in the computation.
3. Sundry other cleanup and added comments.
git-svn-id: svn://10.0.0.236/trunk@149271 18797224-902f-48f8-a5cc-f745e15eee43
and prints certs and CRLs. This code is common to certutil and pp.
Bug 222568 r=nicholson (for this portion).
git-svn-id: svn://10.0.0.236/trunk@148808 18797224-902f-48f8-a5cc-f745e15eee43
of the SSL server session ID cache. Used to test the fix for bug 222726.
git-svn-id: svn://10.0.0.236/trunk@148121 18797224-902f-48f8-a5cc-f745e15eee43
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs
git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
code that did not follow the file's convention for indentation.
Bug 203870.
git-svn-id: svn://10.0.0.236/trunk@147264 18797224-902f-48f8-a5cc-f745e15eee43
for the case where client auth is requested by the server. It will
now report the name of the cert sent to the server, or "send no cert".
git-svn-id: svn://10.0.0.236/trunk@146660 18797224-902f-48f8-a5cc-f745e15eee43
QA test script failures that only occurred on tinderbox machines.
bug 207313 is now fixed.
git-svn-id: svn://10.0.0.236/trunk@143202 18797224-902f-48f8-a5cc-f745e15eee43
1, It uses two new symbols SSOCK_FD and STDIN_FD instead of 0 and 1 to
reference members of the poll set array. I just could never remember whether
pollset[0] was the socket or was stdin. Now I don't have to remember.
This changes a lot of lines, but is very simple.
2. It implementa a new flag clientSpeaksFirst, set with the -f option.
The only effect of this flag is whether the value of
pollset[SSOCK_FD].in_flags is initially zero (if true) or PR_POLL_READ (if false). Note that pollset[SSOCK_FD].in_flags is set to PR_POLL_READ after
each succesful write to the socket.
git-svn-id: svn://10.0.0.236/trunk@143147 18797224-902f-48f8-a5cc-f745e15eee43
unix_rand.c, and win_rand.c. 2. Make secrng.h and pqgutil.h private.
3. Public header pk11pqg.h can't include private header pqgutil.h.
4. Many files don't need to include secrng.h. A few don't need to include
pqgutil.h. 5. Remove duplicate declarations of PQG_DestroyParams and
PQG_DestroyVerify from blapi.h.
git-svn-id: svn://10.0.0.236/trunk@143125 18797224-902f-48f8-a5cc-f745e15eee43
Both selfserv and strsclnt no longer OptimizeSpace. Moved SECMOD_DB
defines from nssinit.c to nss.h, make it availble for public use with
NSS_Initialize().
git-svn-id: svn://10.0.0.236/trunk@143104 18797224-902f-48f8-a5cc-f745e15eee43
disabling SSL3 and TLS respectively. With this change, the QA stress
tests that say they're testing SSL3 or TLS can finally test what they
claim they are testing.
git-svn-id: svn://10.0.0.236/trunk@143084 18797224-902f-48f8-a5cc-f745e15eee43
blapi.h, some files that include secrng.h or pqgutil.h need to include
blapi.h directly.
Modified Files: certcgi.c swfutl.c unix_rand.c win_rand.c
git-svn-id: svn://10.0.0.236/trunk@142897 18797224-902f-48f8-a5cc-f745e15eee43