From: Ezra Peisach Date: Fri, 12 May 1995 11:34:57 +0000 (+0000) Subject: Missing a "retval = " so errors in addresses were passing X-Git-Tag: krb5-1.0-beta6~1994 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a199a4ad4169de88d6c797f23a5f8552280dc05;p=krb5.git Missing a "retval = " so errors in addresses were passing successfully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5803 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index dcdd4af2f..c22134e82 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +Thu May 11 22:42:30 1995 Ezra Peisach + + * rd_cred.c (krb5_rd_cred_basic): If address don't match, return + KRB5KRB_AP_ERR_BADADDR (add missing retval). Thu May 11 18:30:21 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/lib/krb5/krb/rd_cred.c b/src/lib/krb5/krb/rd_cred.c index c83265000..05c99ac07 100644 --- a/src/lib/krb5/krb/rd_cred.c +++ b/src/lib/krb5/krb/rd_cred.c @@ -93,7 +93,7 @@ krb5_rd_cred_basic(context, pcreddata, pkeyblock, local_addr, remote_addr, goto cleanup_cred; if (!krb5_address_compare(context, remote_addr, encpart.s_address)) { - KRB5KRB_AP_ERR_BADADDR; + retval = KRB5KRB_AP_ERR_BADADDR; goto cleanup_cred; }