From c24620595808fafcc81b74404889c5c0fb452fdc Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 16 Sep 1998 19:03:22 +0000 Subject: [PATCH] Add ldap_ prefix to md5 calls. Patch submitted by Chris Smith --- servers/slapd/back-ldbm/bind.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-ldbm/bind.c b/servers/slapd/back-ldbm/bind.c index 4171ac23e7..796d471aaa 100644 --- a/servers/slapd/back-ldbm/bind.c +++ b/servers/slapd/back-ldbm/bind.c @@ -72,9 +72,9 @@ crypted_value_find( char *userpassword = vals[i]->bv_val + sizeof("{MD5}") - 1; - MD5Init(&MD5context); - MD5Update(&MD5context, cred->bv_val, strlen(cred->bv_val)); - MD5Final(MD5digest, &MD5context); + ldap_MD5Init(&MD5context); + ldap_MD5Update(&MD5context, cred->bv_val, strlen(cred->bv_val)); + ldap_MD5Final(MD5digest, &MD5context); if (b64_ntop(MD5digest, sizeof(MD5digest), base64digest, sizeof(base64digest)) < 0) -- 2.39.5