diff options
| author | Greg Hudson <ghudson@mit.edu> | 2009-10-28 19:17:35 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2009-10-28 19:17:35 +0000 |
| commit | 83c40776396c2c79a1f3a582cb1be6872b871be5 (patch) | |
| tree | 159a0e38a51d8c8610a7bdfcdceaaadd46d4d2fc /src/include | |
| parent | 7da28b8d6f545c8c8c9880d854325d479bba1861 (diff) | |
| download | krb5-83c40776396c2c79a1f3a582cb1be6872b871be5.tar.gz krb5-83c40776396c2c79a1f3a582cb1be6872b871be5.tar.xz krb5-83c40776396c2c79a1f3a582cb1be6872b871be5.zip | |
Bump the accessor version number since we made changes.
Take the opportunity to regularize accessor field names (no krb5 or
krb5int prefixes).
Fix a test program which was still using krb5_hmac.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23081 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-int.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 9217174f2f..e6f84562e1 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2218,7 +2218,7 @@ void krb5int_free_srv_dns_data(struct srv_dns_entry *); /* To keep happy libraries which are (for now) accessing internal stuff */ /* Make sure to increment by one when changing the struct */ -#define KRB5INT_ACCESS_STRUCT_VERSION 14 +#define KRB5INT_ACCESS_STRUCT_VERSION 15 #ifndef ANAME_SZ struct ktext; /* from krb.h, for krb524 support */ @@ -2227,11 +2227,13 @@ typedef struct _krb5int_access { /* crypto stuff */ const struct krb5_hash_provider *md5_hash_provider; const struct krb5_enc_provider *arcfour_enc_provider; - krb5_error_code (* krb5int_hmac) (const struct krb5_hash_provider *hash, - const krb5_keyblock *key, - unsigned int icount, const krb5_data *input, - krb5_data *output); - krb5_error_code (* krb5_auth_con_get_subkey_enctype)(krb5_context, krb5_auth_context, krb5_enctype *); + krb5_error_code (*hmac)(const struct krb5_hash_provider *hash, + const krb5_keyblock *key, + unsigned int icount, const krb5_data *input, + krb5_data *output); + krb5_error_code (*auth_con_get_subkey_enctype)(krb5_context, + krb5_auth_context, + krb5_enctype *); /* service location and communication */ krb5_error_code (*sendto_udp) (krb5_context, const krb5_data *msg, const struct addrlist *, struct sendto_callback_info*, krb5_data *reply, @@ -2253,16 +2255,12 @@ typedef struct _krb5int_access { int (*use_dns_kdc)(krb5_context); krb5_error_code (*clean_hostname)(krb5_context, const char *, char *, size_t); - /* krb4 compatibility stuff -- may be null if not enabled */ - krb5_int32 (*krb_life_to_time)(krb5_int32, int); - int (*krb_time_to_life)(krb5_int32, krb5_int32); - int (*krb524_encode_v4tkt)(struct ktext *, char *, unsigned int *); - krb5_error_code (*krb5int_c_mandatory_cksumtype) - (krb5_context, krb5_enctype, krb5_cksumtype *); - krb5_error_code (KRB5_CALLCONV *krb5_ser_pack_int64) - (krb5_int64, krb5_octet **, size_t *); - krb5_error_code (KRB5_CALLCONV *krb5_ser_unpack_int64) - (krb5_int64 *, krb5_octet **, size_t *); + krb5_error_code (*mandatory_cksumtype)(krb5_context, krb5_enctype, + krb5_cksumtype *); + krb5_error_code (KRB5_CALLCONV *ser_pack_int64)(krb5_int64, krb5_octet **, + size_t *); + krb5_error_code (KRB5_CALLCONV *ser_unpack_int64)(krb5_int64 *, + krb5_octet **, size_t *); /* Used for KDB LDAP back end. */ krb5_error_code @@ -2342,9 +2340,9 @@ typedef struct _krb5int_access { (const krb5_data *output, krb5_kdc_req **rep); krb5_error_code (*encode_krb5_kdc_req_body) (const krb5_kdc_req *rep, krb5_data **code); - void (KRB5_CALLCONV *krb5_free_kdc_req) + void (KRB5_CALLCONV *free_kdc_req) (krb5_context, krb5_kdc_req * ); - void (*krb5int_set_prompt_types) + void (*set_prompt_types) (krb5_context, krb5_prompt_type *); krb5_error_code (*encode_krb5_authdata_elt) (const krb5_authdata *rep, krb5_data **code); |
