From: Kurt Zeilenga Date: Tue, 24 Sep 2002 21:21:35 +0000 (+0000) Subject: ITS#1502: fix NS-MTA-MD5 typo X-Git-Tag: NO_SLAP_OP_BLOCKS~941 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ba6d2c5cc0146a05489a935b10c8dfb254cdceaa;p=openldap ITS#1502: fix NS-MTA-MD5 typo --- diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index 50f526f04e..a2235c45f5 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -125,8 +125,8 @@ static int chk_lanman( const struct berval *cred ); #endif -#ifdef SLAPD_NT_MTA_MD5 -static int chk_nt_mta_md5( +#ifdef SLAPD_NS_MTA_MD5 +static int chk_ns_mta_md5( const struct pw_scheme *scheme, const struct berval *passwd, const struct berval *cred ); @@ -212,9 +212,9 @@ static const struct pw_scheme pw_schemes[] = { BER_BVC("{LANMAN}"), chk_lanman, hash_lanman }, #endif /* SLAPD_LMHASH */ -#ifdef SLAPD_NT_MTA_MD5 - { BER_BVC("{NT-MTA-MD5}"), chk_nt_mta_md5, NULL }, -#endif /* SLAPD_NT_MTA_MD5 */ +#ifdef SLAPD_NS_MTA_MD5 + { BER_BVC("{NS-MTA-MD5}"), chk_ns_mta_md5, NULL }, +#endif /* SLAPD_NS_MTA_MD5 */ #ifdef SLAPD_SPASSWD { BER_BVC("{SASL}"), chk_sasl, NULL }, @@ -637,8 +637,8 @@ static int chk_lanman( } #endif /* SLAPD_LMHASH */ -#ifdef SLAPD_NT_MTA_MD5 -static int chk_nt_mta_md5( +#ifdef SLAPD_NS_MTA_MD5 +static int chk_ns_mta_md5( const struct pw_scheme *scheme, const struct berval *passwd, const struct berval *cred )