summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/nss/cmd/lib/secutil.c5
-rw-r--r--security/nss/cmd/signver/pk7print.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/security/nss/cmd/lib/secutil.c b/security/nss/cmd/lib/secutil.c
index 6b9ab8e3c..d0bc5a4d4 100644
--- a/security/nss/cmd/lib/secutil.c
+++ b/security/nss/cmd/lib/secutil.c
@@ -1886,6 +1886,11 @@ secu_PrintSignerInfo(FILE *out, SEC_PKCS7SignerInfo *info, char *m, int level)
}
}
+/* callers of this function must make sure that the CERTSignedCrl
+ from which they are extracting the CERTCrl has been fully-decoded.
+ Otherwise it will not have the entries even though the CRL may have
+ some */
+
void
SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level)
{
diff --git a/security/nss/cmd/signver/pk7print.c b/security/nss/cmd/signver/pk7print.c
index 17bc45f56..94d8e8f36 100644
--- a/security/nss/cmd/signver/pk7print.c
+++ b/security/nss/cmd/signver/pk7print.c
@@ -440,6 +440,10 @@ sv_PrintExtensions(FILE *out, CERTCertExtension **extensions, char *msg)
return 0;
}
+/* callers of this function must make sure that the CERTSignedCrl
+ from which they are extracting the CERTCrl has been fully-decoded.
+ Otherwise it will not have the entries even though the CRL may have
+ some */
void
sv_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m)
{