Added new convenience function for verifying magic numbers:
KRB5_VERIFY_MAGIC.
krb5.hin (krb5_auth_con_set_req_cksumtype, rb5_auth_con_set_safe_cksumtype):
Added prototypes of new functions, to replace old
krb5_auth_con_setcksumtype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8016
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu May 9 19:28:48 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * k5-int.h: Added new field values for ap_req_sumtype and
+ safe_sumtype. Added new convenience function for
+ verifying magic numbers: KRB5_VERIFY_MAGIC.
+
+ * krb5.hin (krb5_auth_con_set_req_cksumtype,
+ krb5_auth_con_set_safe_cksumtype): Added prototypes of
+ new functions, to replace old krb5_auth_con_setcksumtype.
+
Fri May 10 01:26:24 1996 Richard Basch <basch@lehman.com>
* k5-int.h krb5.hin: Replaced 3des-md5 with 3des-sha.
void FAR *ser_ctx;
krb5_deltat clockskew; /* allowable clock skew */
krb5_cksumtype kdc_req_sumtype;
+ krb5_cksumtype default_ap_req_sumtype;
+ krb5_cksumtype default_safe_sumtype;
krb5_flags kdc_default_options;
krb5_flags library_options;
krb5_boolean profile_secure;
size_t,
krb5_octet **,
size_t *));
+/*
+ * Convenience function for structure magic number
+ */
+#define KRB5_VERIFY_MAGIC(structure,magic_number) \
+ if ((structure)->magic != (magic_number)) return (magic_number);
+
#endif /* _KRB5_INT_H */
krb5_auth_context,
krb5_keyblock **));
-krb5_error_code krb5_auth_con_setcksumtype
+krb5_error_code krb5_auth_con_set_req_cksumtype
+ KRB5_PROTOTYPE((krb5_context,
+ krb5_auth_context,
+ krb5_cksumtype));
+
+krb5_error_code krb5_auth_con_set_safe_cksumtype
KRB5_PROTOTYPE((krb5_context,
krb5_auth_context,
krb5_cksumtype));