From: Howard Chu Date: Sat, 1 Aug 2009 01:11:15 +0000 (+0000) Subject: Fix attributeCertificateValidate X-Git-Tag: ACLCHECK_0~372 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=076c1d23cfaec872ca14645a7a21aba4d5c117b8;p=openldap Fix attributeCertificateValidate --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 164c348b8c..253cf9790e 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -389,7 +389,7 @@ attributeCertificateValidate( Syntax *syntax, struct berval *in ) if ( tag != LBER_SEQUENCE ) return LDAP_INVALID_SYNTAX; ber_skip_data( ber, len ); - ber_peek_tag( ber, &len ); + tag = ber_peek_tag( ber, &len ); if ( tag == LBER_BITSTRING ) { /* issuerUniqueID */ tag = ber_skip_tag( ber, &len );