summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.boogz%sun.com <devnull@localhost>2008-05-02 01:27:11 +0000
committerjulien.pierre.boogz%sun.com <devnull@localhost>2008-05-02 01:27:11 +0000
commit331b91bb8e9e2d74ae6cfff887edc2cc89bcc7d6 (patch)
tree57ce2aa48497b31b85b07eff0e2da5c7766175af
parent75be551992610d7a4a7172ea6ce02c89c752f41e (diff)
downloadnss-hg-331b91bb8e9e2d74ae6cfff887edc2cc89bcc7d6.tar.gz
Bug 430916 : add sustaining asserts. r=nelson
-rw-r--r--security/nss/lib/util/secport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/util/secport.c b/security/nss/lib/util/secport.c
index 97c2842f2..806e78b5d 100644
--- a/security/nss/lib/util/secport.c
+++ b/security/nss/lib/util/secport.c
@@ -178,6 +178,9 @@ PORT_Strdup(const char *str)
void
PORT_SetError(int value)
{
+#ifdef DEBUG_jp96085
+ PORT_Assert(value != SEC_ERROR_REUSED_ISSUER_AND_SERIAL);
+#endif
PR_SetError(value, 0);
return;
}