From 359631b91462d55b2bd8fea31e2eb3cdc1b01e98 Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Mon, 1 May 1995 20:47:52 +0000 Subject: [PATCH] * client.c (main()): Changes to auth_context to better support full addresses, for mk_safe() and friends. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5675 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/user_user/ChangeLog | 5 +++++ src/appl/user_user/client.c | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/appl/user_user/ChangeLog b/src/appl/user_user/ChangeLog index 9c79fbfa2..b5e48d6e7 100644 --- a/src/appl/user_user/ChangeLog +++ b/src/appl/user_user/ChangeLog @@ -1,4 +1,9 @@ +Mon May 01 15:56:32 1995 Chris Provenzano (proven@mit.edu) + + * client.c (main()): Changes to auth_context to better + support full addresses, for mk_safe() and friends. + Wed Apr 26 22:12:26 1995 Chris Provenzano (proven@mit.edu) * server.c, client.c : Use krb5_auth_con_genaddrs() instead of diff --git a/src/appl/user_user/client.c b/src/appl/user_user/client.c index 4679fbf1d..2a95c5e17 100644 --- a/src/appl/user_user/client.c +++ b/src/appl/user_user/client.c @@ -212,8 +212,8 @@ char *argv[]; } if (retval = krb5_auth_con_genaddrs(context, auth_context, s, - KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR | - KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR)) { + KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR | + KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR)) { com_err("uu-client", retval, "generating addrs for auth_context"); return 9; } @@ -240,14 +240,6 @@ char *argv[]; 0, /* server */, NULL, 0, NULL, &ticket); #endif -/* XXX This will be removed -- proven */ - if (retval = krb5_auth_con_genaddrs(context, auth_context, s, - KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR | - KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR)) { - com_err("uu-client", retval, "generating addrs for auth_context"); - return 9; - } - if (retval) { com_err("uu-client", retval, "reading AP_REQ from server"); return 9; -- 2.26.2