From cb9584983ef887ee091ea8d3448e0f84ee225bcc Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Mon, 23 Jan 1995 02:28:57 +0000 Subject: [PATCH] * acquire_cred.c (acquire_accept_cred): Add context arg when calling krb5_sname_to_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4834 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 5 +++++ src/lib/gssapi/krb5/acquire_cred.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 2f29814c5..91c2d9651 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 22 18:26:32 1995 John Gilmore (gnu at toad.com) + + * acquire_cred.c (acquire_accept_cred): Add context arg when + calling krb5_sname_to_principal. + Fri Jan 13 15:23:47 1995 Chris Provenzano (proven@mit.edu) * Added krb5_context to all krb5_routines diff --git a/src/lib/gssapi/krb5/acquire_cred.c b/src/lib/gssapi/krb5/acquire_cred.c index ae68b4f15..04db823f6 100644 --- a/src/lib/gssapi/krb5/acquire_cred.c +++ b/src/lib/gssapi/krb5/acquire_cred.c @@ -57,7 +57,7 @@ acquire_accept_cred(context, minor_status, desired_name, output_princ, cred) requested, use the default sn2princ output */ if (desired_name == GSS_C_NO_NAME) { - if (code = krb5_sname_to_principal(NULL, NULL, KRB5_NT_SRV_HST, + if (code = krb5_sname_to_principal(context, NULL, NULL, KRB5_NT_SRV_HST, &princ)) { *minor_status = code; return(GSS_S_FAILURE); -- 2.26.2