* acquire_cred.c (acquire_accept_cred): Add context arg when
authorJohn Gilmore <gnu@toad.com>
Mon, 23 Jan 1995 02:28:57 +0000 (02:28 +0000)
committerJohn Gilmore <gnu@toad.com>
Mon, 23 Jan 1995 02:28:57 +0000 (02:28 +0000)
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
src/lib/gssapi/krb5/acquire_cred.c

index 2f29814c5b4d7577b0c9f96d9cec38a58185f719..91c2d96517b3e89305f4fcaa7ca3f385bf5fa7cb 100644 (file)
@@ -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
index ae68b4f15e743b402219b94d74e363e7bb51b669..04db823f62d065f3998740840bf931339a8d36c4 100644 (file)
@@ -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);