From b0d7c30e3800a6dd3f6ae5d6893485d7ba2d91b0 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 6 Jul 1995 23:31:42 +0000 Subject: [PATCH] * rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddr * rd_priv.c (krb5_rd_priv_basic): Pass context to os_localaddr. * rd_cred.c (krb5_rd_cred_basic): Pass context to os_localaddr. * get_in_tkt.c (krb5_get_in_tkt): Pass context to os_localaddr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6243 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 10 ++++++++++ src/lib/krb5/krb/get_in_tkt.c | 2 +- src/lib/krb5/krb/rd_cred.c | 2 +- src/lib/krb5/krb/rd_priv.c | 2 +- src/lib/krb5/krb/rd_safe.c | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 7015036ce..0ffa78e38 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,13 @@ +Thu Jul 6 17:31:40 1995 Tom Yu + + * rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddr. + + * rd_priv.c (krb5_rd_priv_basic): Pass context to os_localaddr. + + * rd_cred.c (krb5_rd_cred_basic): Pass context to os_localaddr. + + * get_in_tkt.c (krb5_get_in_tkt): Pass context to os_localaddr. + Wed July 5 15:52:31 1995 James Mattly * added condition for _MACINTOSH diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index ca641c5ee..f6e5c3248 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -109,7 +109,7 @@ krb5_get_in_tkt(context, options, addrs, etypes, ptypes, key_proc, keyseed, request.msg_type = KRB5_AS_REQ; if (!addrs) - krb5_os_localaddr(&request.addresses); + krb5_os_localaddr(context, &request.addresses); else request.addresses = (krb5_address **) addrs; diff --git a/src/lib/krb5/krb/rd_cred.c b/src/lib/krb5/krb/rd_cred.c index a20837fed..c8effba83 100644 --- a/src/lib/krb5/krb/rd_cred.c +++ b/src/lib/krb5/krb/rd_cred.c @@ -106,7 +106,7 @@ krb5_rd_cred_basic(context, pcreddata, pkeyblock, local_addr, remote_addr, } else { krb5_address **our_addrs; - if ((retval = krb5_os_localaddr(&our_addrs))) { + if ((retval = krb5_os_localaddr(context, &our_addrs))) { goto cleanup_cred; } if (!krb5_address_search(context, encpart.r_address, our_addrs)) { diff --git a/src/lib/krb5/krb/rd_priv.c b/src/lib/krb5/krb/rd_priv.c index e444d643f..75df2f17e 100644 --- a/src/lib/krb5/krb/rd_priv.c +++ b/src/lib/krb5/krb/rd_priv.c @@ -134,7 +134,7 @@ krb5_rd_priv_basic(context, inbuf, keyblock, local_addr, remote_addr, } else { krb5_address **our_addrs; - if ((retval = krb5_os_localaddr(&our_addrs))) { + if ((retval = krb5_os_localaddr(context, &our_addrs))) { goto cleanup_data; } if (!krb5_address_search(context, privmsg_enc_part->r_address, diff --git a/src/lib/krb5/krb/rd_safe.c b/src/lib/krb5/krb/rd_safe.c index cb348d997..0c9a0be69 100644 --- a/src/lib/krb5/krb/rd_safe.c +++ b/src/lib/krb5/krb/rd_safe.c @@ -91,7 +91,7 @@ krb5_rd_safe_basic(context, inbuf, keyblock, recv_addr, sender_addr, } else { krb5_address **our_addrs; - if ((retval = krb5_os_localaddr( &our_addrs))) + if ((retval = krb5_os_localaddr(context, &our_addrs))) goto cleanup; if (!krb5_address_search(context, message->r_address, our_addrs)) { -- 2.26.2