diff options
author | Tom Yu <tlyu@mit.edu> | 1995-11-27 00:36:33 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1995-11-27 00:36:33 +0000 |
commit | ba076089caa523565c50b7514e4fa5644c9ac2af (patch) | |
tree | d56e5053aeb951d58af0380e8b88974ae549a8c3 /src/lib/krb5 | |
parent | 48ac71b5e2ac59a20e00f9cba4a65ad8a3805b11 (diff) | |
download | krb5-ba076089caa523565c50b7514e4fa5644c9ac2af.zip krb5-ba076089caa523565c50b7514e4fa5644c9ac2af.tar.gz krb5-ba076089caa523565c50b7514e4fa5644c9ac2af.tar.bz2 |
* 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.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7123 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 7 | ||||
-rw-r--r-- | src/lib/krb5/krb/preauth.c | 36 |
2 files changed, 41 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index a852154..3092f3a 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -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): diff --git a/src/lib/krb5/krb/preauth.c b/src/lib/krb5/krb/preauth.c index 86aa899..e062f06 100644 --- a/src/lib/krb5/krb/preauth.c +++ b/src/lib/krb5/krb/preauth.c @@ -36,8 +36,40 @@ #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[] = { { |