mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
note about OpenSSL being more liberal than OpenLDAP when there is garbage past the end of a certificateList
This commit is contained in:
parent
8fc79e1116
commit
20371c3eae
1 changed files with 1 additions and 0 deletions
|
|
@ -337,6 +337,7 @@ certificateListValidate( Syntax *syntax, struct berval *in )
|
|||
ber_skip_data( ber, len );
|
||||
tag = ber_skip_tag( ber, &len );
|
||||
/* Must be at end now */
|
||||
/* NOTE: OpenSSL tolerates CL with garbage past the end */
|
||||
if ( len || tag != LBER_DEFAULT ) return LDAP_INVALID_SYNTAX;
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue