]> git.sur5r.net Git - openldap/commitdiff
note about OpenSSL being more liberal than OpenLDAP when there is garbage past the...
authorPierangelo Masarati <ando@openldap.org>
Mon, 3 Aug 2009 14:07:49 +0000 (14:07 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 3 Aug 2009 14:07:49 +0000 (14:07 +0000)
servers/slapd/schema_init.c

index 253cf9790ea152bcfd6dd48ebe49332602ab92fa..95d108f6a5f294bd53777cfff0a7aa8d0742a708 100644 (file)
@@ -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;
 }