Use krb5_encode_Authenticator.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4361 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-01-31 16:29:24 +00:00
parent dcc93391f3
commit e07a5b2712

View File

@@ -98,7 +98,8 @@ krb5_build_authenticator (krb5_context context,
}
memset (buf, 0, sizeof(buf));
ret = encode_Authenticator (buf + sizeof(buf) - 1, sizeof(buf), auth, &len);
ret = krb5_encode_Authenticator (context, buf + sizeof(buf) - 1, sizeof(buf),
auth, &len);
ret = krb5_encrypt (context, buf + sizeof(buf) - len, len,
enctype,