Skip to content

Commit

Permalink
Backed out the previous checkin, which broke our S/MIME QA tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
wchang0222%aol.com committed Dec 19, 2003
1 parent 6f9cf5a commit 4fcb8d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions security/nss/lib/smime/cmssigdata.c
Expand Up @@ -213,8 +213,9 @@ NSS_CMSSignedData_Encode_BeforeData(NSSCMSSignedData *sigd)
return SECFailure;
}
/* set up the digests */
if (sigd->digestAlgorithms != NULL && sigd->digests == NULL) {
/* if digests are already there, do nothing */
if (sigd->digests && sigd->digests[0]) {
sigd->contentInfo.digcx = NULL; /* don't attempt to make new ones. */
} else if (sigd->digestAlgorithms != NULL) {
sigd->contentInfo.digcx =
NSS_CMSDigestContext_StartMultiple(sigd->digestAlgorithms);
if (sigd->contentInfo.digcx == NULL)
Expand Down

0 comments on commit 4fcb8d5

Please sign in to comment.