From: Theodore Tso Date: Wed, 24 Jul 1996 22:02:52 +0000 (+0000) Subject: Change type of first argument to be krb5_preauthtype, to eliminate X-Git-Tag: krb5-1.0-beta7~280 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e326fbf845a521d45f12f4c7bc4ccc86112578c;p=krb5.git Change type of first argument to be krb5_preauthtype, to eliminate compiler warnings under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8802 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index d9e529f9f..32612bb8c 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +Wed Jul 24 17:09:39 1996 Theodore Y. Ts'o + + * preauth.c (find_pa_system): Change type of first argument to be + krb5_preauthtype, to eliminate compiler warnings under + Windows. + Wed Jul 10 20:22:41 1996 Theodore Y. Ts'o * init_ctx.c (krb5_init_context): Add a call to krb5_win_do_init() diff --git a/src/lib/krb5/krb/preauth.c b/src/lib/krb5/krb/preauth.c index 4fd19c036..a5f593bfe 100644 --- a/src/lib/krb5/krb/preauth.c +++ b/src/lib/krb5/krb/preauth.c @@ -118,7 +118,7 @@ static krb5_preauth_ops preauth_systems[] = { }; static krb5_error_code find_pa_system - PROTOTYPE((int type, krb5_preauth_ops **Preauth_proc)); + PROTOTYPE((krb5_preauthtype type, krb5_preauth_ops **Preauth_proc)); /* some typedef's for the function args to make things look a bit cleaner */ @@ -377,7 +377,7 @@ process_pw_salt(context, padata, request, as_reply, static krb5_error_code find_pa_system(type, preauth) - int type; + krb5_preauthtype type; krb5_preauth_ops **preauth; { krb5_preauth_ops *ap = preauth_systems; @@ -496,7 +496,6 @@ obtain_sam_padata(context, in_padata, etype_info, def_enc_key, krb5_kdc_req * request; krb5_pa_data ** out_padata; { - krb5_pa_enc_ts pa_enc; krb5_error_code retval; krb5_data * scratch; krb5_data tmpsam;