diff options
author | Theodore Tso <tytso@mit.edu> | 1996-07-24 22:02:52 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1996-07-24 22:02:52 +0000 |
commit | 4e326fbf845a521d45f12f4c7bc4ccc86112578c (patch) | |
tree | d83d2ee1ee38124a333ab293e78e7d7f791d7a80 /src/lib/krb5/krb/preauth.c | |
parent | 3d10fcdb25f4b290565c06992240577c46f0cb34 (diff) | |
download | krb5-4e326fbf845a521d45f12f4c7bc4ccc86112578c.zip krb5-4e326fbf845a521d45f12f4c7bc4ccc86112578c.tar.gz krb5-4e326fbf845a521d45f12f4c7bc4ccc86112578c.tar.bz2 |
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
Diffstat (limited to 'src/lib/krb5/krb/preauth.c')
-rw-r--r-- | src/lib/krb5/krb/preauth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/krb5/krb/preauth.c b/src/lib/krb5/krb/preauth.c index 4fd19c0..a5f593b 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; |