summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2003-11-20 02:04:07 +0000
committernelsonb%netscape.com <devnull@localhost>2003-11-20 02:04:07 +0000
commit7e674b1fbb22adb42d904e002e457ec9bb34345c (patch)
treec1196ab5ea1989f57e814f9a815381cfbf9c4bc4
parentc5ed5f811260cd4976866c31eb89523eabb3b066 (diff)
downloadnss-hg-7e674b1fbb22adb42d904e002e457ec9bb34345c.tar.gz
Remove as assertion that is triggered by bad data input, but does not
indicate a code flaw. Bugscape bug 53875. r=relyea
-rw-r--r--security/nss/lib/smime/cmscipher.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/nss/lib/smime/cmscipher.c b/security/nss/lib/smime/cmscipher.c
index 6d73beaff..71cd9682a 100644
--- a/security/nss/lib/smime/cmscipher.c
+++ b/security/nss/lib/smime/cmscipher.c
@@ -507,7 +507,6 @@ NSS_CMSCipherContext_Decrypt(NSSCMSCipherContext *cc, unsigned char *output,
* If we do not, there is something wrong, either with our own
* logic or with (length of) the data given to us.
*/
- PORT_Assert ((padsize == 0) || (pcount % padsize) == 0);
if ((padsize != 0) && (pcount % padsize) != 0) {
PORT_Assert (final);
PORT_SetError (SEC_ERROR_BAD_DATA);