encap/decap now takes a oid

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12639 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-08-25 20:02:49 +00:00
parent a339bd774f
commit c8cf8c9880
4 changed files with 14 additions and 10 deletions

View File

@@ -417,7 +417,7 @@ init_auth
}
ret = gssapi_krb5_encapsulate (minor_status, &outbuf, output_token,
"\x01\x00");
"\x01\x00", GSS_KRB5_MECHANISM);
if (ret)
goto failure;
@@ -497,7 +497,7 @@ repl_mutual
*actual_mech_type = GSS_KRB5_MECHANISM;
ret = gssapi_krb5_decapsulate (minor_status, input_token, &indata,
"\x02\x00");
"\x02\x00", GSS_KRB5_MECHANISM);
if (ret) {
HEIMDAL_MUTEX_unlock(&(*context_handle)->ctx_id_mutex);
/* XXX - Handle AP_ERROR */