de-pointerise auth_context parameter to krb5_mk_rep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9290 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -417,7 +417,7 @@ kerberos5_is(Authenticator *ap, unsigned char *data, int cnt)
|
||||
}
|
||||
|
||||
if ((ap->way & AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) {
|
||||
ret = krb5_mk_rep(context, &auth_context, &outbuf);
|
||||
ret = krb5_mk_rep(context, auth_context, &outbuf);
|
||||
if (ret) {
|
||||
Data(ap, KRB_REJECT,
|
||||
"krb5_mk_rep failed", -1);
|
||||
|
@@ -163,7 +163,7 @@ reply_priv (krb5_auth_context auth_context,
|
||||
krb5_data e_data;
|
||||
|
||||
ret = krb5_mk_rep (context,
|
||||
&auth_context,
|
||||
auth_context,
|
||||
&ap_rep_data);
|
||||
if (ret) {
|
||||
krb5_warn (context, ret, "Could not even generate error reply");
|
||||
|
@@ -318,7 +318,7 @@ end_fwd:
|
||||
krb5_data outbuf;
|
||||
|
||||
kret = krb5_mk_rep (gssapi_krb5_context,
|
||||
&(*context_handle)->auth_context,
|
||||
(*context_handle)->auth_context,
|
||||
&outbuf);
|
||||
if (kret) {
|
||||
ret = GSS_S_FAILURE;
|
||||
|
@@ -318,7 +318,7 @@ end_fwd:
|
||||
krb5_data outbuf;
|
||||
|
||||
kret = krb5_mk_rep (gssapi_krb5_context,
|
||||
&(*context_handle)->auth_context,
|
||||
(*context_handle)->auth_context,
|
||||
&outbuf);
|
||||
if (kret) {
|
||||
ret = GSS_S_FAILURE;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 - 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997-2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -177,7 +177,7 @@ krb5_recvauth_match_version(krb5_context context,
|
||||
return errno;
|
||||
|
||||
if (ap_options & AP_OPTS_MUTUAL_REQUIRED) {
|
||||
ret = krb5_mk_rep (context, auth_context, &data);
|
||||
ret = krb5_mk_rep (context, *auth_context, &data);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
Reference in New Issue
Block a user