From 511a262edc39571a2bb92586bf73fc5e26e7c404 Mon Sep 17 00:00:00 2001 From: "nelsonb%netscape.com" Date: Thu, 20 Nov 2003 02:04:07 +0000 Subject: [PATCH] Remove as assertion that is triggered by bad data input, but does not indicate a code flaw. Bugscape bug 53875. r=relyea --- security/nss/lib/smime/cmscipher.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/security/nss/lib/smime/cmscipher.c b/security/nss/lib/smime/cmscipher.c index 65309dbc8d93..badea17e0139 100644 --- a/security/nss/lib/smime/cmscipher.c +++ b/security/nss/lib/smime/cmscipher.c @@ -34,7 +34,7 @@ /* * Encryption/decryption routines for CMS implementation, none of which are exported. * - * $Id: cmscipher.c,v 1.5 2003/11/18 06:16:25 nelsonb%netscape.com Exp $ + * $Id: cmscipher.c,v 1.6 2003/11/20 02:04:07 nelsonb%netscape.com Exp $ */ #include "cmslocal.h" @@ -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);