Change type of first argument to be krb5_preauthtype, to eliminate
authorTheodore Tso <tytso@mit.edu>
Wed, 24 Jul 1996 22:02:52 +0000 (22:02 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 24 Jul 1996 22:02:52 +0000 (22:02 +0000)
compiler warnings under Windows.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8802 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/preauth.c

index d9e529f9f213561512bf9dfa02499402277c5a1a..32612bb8c3a568e8988a47deca89631ba6e1bcc5 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jul 24 17:09:39 1996  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * 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  <tytso@mit.edu>
 
        * init_ctx.c (krb5_init_context): Add a call to krb5_win_do_init()
index 4fd19c0369c33f9f13f23998d0d5a611734005cc..a5f593bfea92aabd78462dadd5529ddf350f6893 100644 (file)
@@ -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;