From: Kurt Zeilenga Date: Fri, 30 Jun 2000 02:18:58 +0000 (+0000) Subject: genTime: Move validate above normalizer X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2504 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=854b6d18393df2f54a01c869c07e504b50dcf423;p=openldap genTime: Move validate above normalizer --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 1c3d4b2624..da00880393 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1469,6 +1469,16 @@ utcTimeValidate( return check_time_syntax(in, 1, parts); } +static int +generalizedTimeValidate( + Syntax *syntax, + struct berval *in ) +{ + int parts[9]; + + return check_time_syntax(in, 0, parts); +} + static int generalizedTimeNormalize( Syntax *syntax, @@ -1503,16 +1513,6 @@ generalizedTimeNormalize( return LDAP_SUCCESS; } -static int -generalizedTimeValidate( - Syntax *syntax, - struct berval *in ) -{ - int parts[9]; - - return check_time_syntax(in, 0, parts); -} - struct syntax_defs_rec { char *sd_desc; int sd_flags;