From: Kurt Zeilenga Date: Wed, 6 Sep 2000 18:21:39 +0000 (+0000) Subject: MIT Kerberos and krb5_free_creds_contents (ITS#715) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2092 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f319444df0d6de328ba5170263bfaed0c61c887d;p=openldap MIT Kerberos and krb5_free_creds_contents (ITS#715) fix suggested by Norbert Klasen --- diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index eca2ff12b1..427af165a0 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -48,6 +48,8 @@ #include +#include "ldap_pvt.h" + #include "lutil_md5.h" #include "lutil_sha1.h" #include "lutil.h" @@ -751,7 +753,7 @@ static int chk_kerberos( krb5_free_principal( context, client ); krb5_free_principal( context, server ); - krb5_free_creds_contents( context, &creds ); + krb5_free_cred_contents( context, &creds ); krb5_free_context( context ); rtn = !!ret;