* preauth.c: Ultrix is broken. Prototype obtain_enc_ts_padata()
authorTom Yu <tlyu@mit.edu>
Mon, 27 Nov 1995 00:36:33 +0000 (00:36 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 27 Nov 1995 00:36:33 +0000 (00:36 +0000)
and process_pw_salt() explicitly rather than using the
typedef in k5-int.h becaus that typedef is to a function
pointer now.

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

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

index a85215426807c60004607ea4597c5029df892b94..3092f3ae4c076b4a2ff841efd5ac0ef49095cb94 100644 (file)
@@ -1,3 +1,10 @@
+Sun Nov 26 19:31:18 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
+
+       * preauth.c: Ultrix is broken.  Prototype obtain_enc_ts_padata()
+               and process_pw_salt() explicitly rather than using the
+               typedef in k5-int.h becaus that typedef is to a function
+               pointer now.
+
 Fri Nov 17 22:35:52 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * get_in_tkt.c (decrypt_as_reply): 
index 86aa899b5294f4a988e43af641866764e10d1d98..e062f0606cad07bab0022a54530c03ce9dd459af 100644 (file)
 #include <process.h>
 #endif
 
-static krb5_preauth_obtain_proc obtain_enc_ts_padata;
-static krb5_preauth_process_proc process_pw_salt;
+static krb5_error_code obtain_enc_ts_padata
+KRB5_NPROTOTYPE((krb5_context,
+                krb5_pa_data *,
+                krb5_etype_info,
+                krb5_keyblock *, 
+                krb5_error_code ( * )(krb5_context,
+                                      krb5_const krb5_enctype,
+                                      krb5_data *,
+                                      krb5_const_pointer,
+                                      krb5_keyblock **),
+                krb5_const_pointer,
+                krb5_creds *,
+                krb5_kdc_req *,
+                krb5_pa_data **));
+
+static krb5_error_code process_pw_salt
+KRB5_NPROTOTYPE((krb5_context,
+                krb5_pa_data *,
+                krb5_kdc_req *,
+                krb5_kdc_rep *,
+                krb5_error_code ( * )(krb5_context,
+                                      krb5_const krb5_enctype,
+                                      krb5_data *,
+                                      krb5_const_pointer,
+                                      krb5_keyblock **),
+                krb5_const_pointer,
+                krb5_error_code ( * )(krb5_context,
+                                      krb5_const krb5_keyblock *,
+                                      krb5_const_pointer,
+                                      krb5_kdc_rep * ),
+                krb5_keyblock **,
+                krb5_creds *, 
+                krb5_int32 *,
+                krb5_int32 *));
 
 static krb5_preauth_ops preauth_systems[] = {
     {