diff --git a/crypto/x509/v3_ncons.c b/crypto/x509/v3_ncons.c index 481e1e2044..c6ebb2f6e1 100644 --- a/crypto/x509/v3_ncons.c +++ b/crypto/x509/v3_ncons.c @@ -34,8 +34,8 @@ static int do_i2r_name_constraints(const X509V3_EXT_METHOD *method, static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip); static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc); -static int nc_match_single(int effective_type, GENERAL_NAME *sub, - GENERAL_NAME *gen); +static int nc_match_single(int effective_type, GENERAL_NAME *gen, + GENERAL_NAME *base); static int nc_dn(const X509_NAME *sub, const X509_NAME *nm); static int nc_dns(ASN1_IA5STRING *sub, ASN1_IA5STRING *dns); static int nc_email(ASN1_IA5STRING *sub, ASN1_IA5STRING *eml);