diff --git a/security/manager/pki/src/nsPKIParamBlock.cpp b/security/manager/pki/src/nsPKIParamBlock.cpp index 220f216f18d1..6fff5021cb05 100644 --- a/security/manager/pki/src/nsPKIParamBlock.cpp +++ b/security/manager/pki/src/nsPKIParamBlock.cpp @@ -83,7 +83,9 @@ nsPKIParamBlock::SetISupportAtIndex(PRInt32 index, nsISupports *object) return NS_ERROR_OUT_OF_MEMORY; } } - return mSupports->InsertElementAt(object, index-1); + // Ignore any InsertElementAt error, because this function always did that + mSupports->InsertElementAt(object, index-1); + return NS_OK; } /* nsISupports getISupportAtIndex (in PRInt32 index); */