+Thu Jul 27 15:10:58 EDT 1995 Paul Park (pjpark@mit.edu)
+ * configure.in - Add --with-vague-errors and --with-kdc-kdb-update
+ which define KRBCONF_VAGUE_ERRORS and KRBCONF_KDC_MODIFIES_KDB
+ which replace the definitions that used to be in k5-config.h.
+ * kdc_util.c - Cast argument to fetch_asn1_field which caused a
+ compiler moan.
+ * kerberos_v4.c - Use KRB5_PROTOTYPE for v4_klog which is set correctly
+ for the compiler. Some compilers (e.g. OSF/1 native) understand
+ prototypes even when not in STDC mode.
+ Also use KRB5_MIT_DES_KEYSIZE instead of MIT_DES_KEYSIZE.
+
+
Thu Jul 27 02:59:05 1995 Chris Provenzano (proven@mit.edu)
* do_as_req.c do_tgs_req.c kdc_util.c main.c : Use new kdb format.
* checksum that directly; if that fails, then we try encoding
* using our local asn.1 library.
*/
- if (pkt && (fetch_asn1_field(pkt->data, 1, 4, &scratch1) >= 0)) {
+ if (pkt && (fetch_asn1_field((unsigned char *) pkt->data,
+ 1, 4, &scratch1) >= 0)) {
if (comp_cksum(kdc_context, &scratch1, *ticket, his_cksum)) {
if (!(retval = encode_krb5_kdc_req_body(request, &scratch)))
retval = comp_cksum(kdc_context, scratch, *ticket, his_cksum);
int check_princ PROTOTYPE((char *, char *, unsigned, Principal *));
#ifdef HAVE_STDARG_H
-char * v4_klog PROTOTYPE((int, const char *, ...));
+char * v4_klog KRB5_PROTOTYPE((int, const char *, ...));
#else
-char * v4_klog PROTOTYPE((int, char *, va_dcl));
+char * v4_klog KRB5_PROTOTYPE((int, char *, va_dcl));
#endif
/* take this out when we don't need it anymore */
lt = klog(L_DEATH_REQ, "KDC can't decrypt principal's key.");
}
if ( ! out5.contents) return( retval);
- if ( out5.length != MIT_DES_KEYSIZE) {
+ if ( out5.length != KRB5_MIT_DES_KEYSIZE) {
lt = klog( L_DEATH_REQ,"internal keysize error in kdc");
}
else {