From: John Kohl Date: Thu, 8 Feb 1990 10:18:26 +0000 (+0000) Subject: change declaration of krb5_decode_kdc_rep for ANSI stuff X-Git-Tag: krb5-1.0-alpha2~1061 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42253d7086690edcc7a2f6144185e9c61f55d3ac;p=krb5.git change declaration of krb5_decode_kdc_rep for ANSI stuff change argument order for krb5_kdc_rep_decrypt_proc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@323 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/decode_kdc.c b/src/lib/krb5/krb/decode_kdc.c index 8c26e4cc6..dd10cd99c 100644 --- a/src/lib/krb5/krb/decode_kdc.c +++ b/src/lib/krb5/krb/decode_kdc.c @@ -40,11 +40,14 @@ static char rcsid_decode_kdc_c[] = */ krb5_error_code -krb5_decode_kdc_rep(enc_rep, key, etype, dec_rep) -krb5_data *enc_rep; -krb5_keyblock *key; -krb5_enctype etype; -krb5_kdc_rep **dec_rep; +krb5_decode_kdc_rep(DECLARG(krb5_data *, enc_rep), + DECLARG(krb5_keyblock *, key), + DECLARG(krb5_enctype, etype), + DECLARG(krb5_kdc_rep **, dec_rep)) +OLDDECLARG(krb5_data *, enc_rep) +OLDDECLARG(krb5_keyblock *, key) +OLDDECLARG(krb5_enctype, etype) +OLDDECLARG(krb5_kdc_rep **, dec_rep) { krb5_error_code retval; krb5_kdc_rep *local_dec_rep; @@ -70,7 +73,7 @@ krb5_kdc_rep **dec_rep; if (local_dec_rep->etype != etype) { return KRB5KDC_ERR_ETYPE_NOSUPP; /* XXX */ } - if (retval = krb5_kdc_rep_decrypt_proc(local_dec_rep, key, 0)) { + if (retval = krb5_kdc_rep_decrypt_proc(key, 0, local_dec_rep)) { krb5_free_kdc_rep(local_dec_rep); return(retval); }