Index: nss/lib/libpkix/pkix/params/pkix_trustanchor.c |
=================================================================== |
--- nss/lib/libpkix/pkix/params/pkix_trustanchor.c (revision 256695) |
+++ nss/lib/libpkix/pkix/params/pkix_trustanchor.c (working copy) |
@@ -369,8 +369,12 @@ |
anchor->caName = NULL; |
anchor->caPubKey = NULL; |
- anchor->nameConstraints = NULL; |
+ PKIX_CHECK(PKIX_PL_Cert_GetNameConstraints |
+ (anchor->trustedCert, &anchor->nameConstraints, plContext), |
+ PKIX_CERTGETNAMECONSTRAINTSFAILED); |
+ |
+ |
*pAnchor = anchor; |
anchor = NULL; |