mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Fix certificateListValidate parsing of CRL extensions
This commit is contained in:
parent
d479db53e0
commit
e8d95fa072
1 changed files with 3 additions and 2 deletions
|
|
@ -319,10 +319,11 @@ certificateListValidate( Syntax *syntax, struct berval *in )
|
|||
tag = ber_skip_tag( ber, &len );
|
||||
}
|
||||
}
|
||||
/* Optional Extensions */
|
||||
/* Optional Extensions - Sequence of Sequence */
|
||||
if ( tag == SLAP_X509_OPT_CL_CRLEXTENSIONS ) { /* ? */
|
||||
ber_len_t seqlen;
|
||||
if ( version != SLAP_X509_V2 ) return LDAP_INVALID_SYNTAX;
|
||||
tag = ber_skip_tag( ber, &len );
|
||||
tag = ber_peek_tag( ber, &seqlen );
|
||||
if ( tag != LBER_SEQUENCE ) return LDAP_INVALID_SYNTAX;
|
||||
ber_skip_data( ber, len );
|
||||
tag = ber_skip_tag( ber, &len );
|
||||
|
|
|
|||
Loading…
Reference in a new issue