prototype.
* t_ser.c (ser_eblock_test): ifdef out old eblock serialization
test which is no longer called. (see 1999-09-01 ChangeLog)
* t_kerb.c: Cast argument to fprintf to long to agree with format
string.
* t_deltat.c: If MIN is defined, undef before redefined as 60.
* str_conv.c: Provide strptime prototype if the system header
files fail to provide a prototype.
* int-proto.h: Add prototype for krb5_libdefault_boolean()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12555
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-07-18 Ezra Peisach <epeisach@mit.edu>
+
+ * vfy_increds.c: include int-proto.h for krb5_libdefault_boolean
+ prototype.
+
+ * t_ser.c (ser_eblock_test): ifdef out old eblock serialization
+ test which is no longer called. (see 1999-09-01 ChangeLog)
+
+ * t_kerb.c: Cast argument to fprintf to long to agree with format
+ string.
+
+ * t_deltat.c: If MIN is defined, undef before redefined as 60.
+
+ * str_conv.c: Provide strptime prototype if the system header
+ files fail to provide a prototype.
+
+ * int-proto.h: Add prototype for krb5_libdefault_boolean()
+
2000-06-30 Tom Yu <tlyu@mit.edu>
* conv_princ.c (krb5_425_conv_principal): NULL, not nil.
const krb5_data *,
krb5_principal *));
+krb5_error_code krb5_libdefault_boolean
+ KRB5_PROTOTYPE((krb5_context, const krb5_data *, const char *,
+ int *));
+
#endif /* KRB5_INT_FUNC_PROTO__ */
static size_t strftime (char *, size_t, const char *, const struct tm *);
#endif
-#ifndef HAVE_STRPTIME
+#ifdef HAVE_STRPTIME
+#ifdef NEED_STRPTIME_PROTOTYPE
+extern char *strptime (const char *, const char *,
+ struct tm *);
+#endif
+#else /* HAVE_STRPTIME */
#undef strptime
#define strptime my_strptime
static char *strptime (const char *, const char *, struct tm *);
#define BAD(STR) { STR, 0, 1 }
#define DAY (24 * 3600)
#define HOUR 3600
+#ifdef MIN
+#undef MIN
+#endif
#define MIN 60
} values[] = {
/* d-h-m-s patterns */
retval = krb5_init_context(&ctx);
if (retval) {
fprintf(stderr, "krb5_init_context returned error %ld\n",
- retval);
+ (long) retval);
exit(1);
}
progname = argv[0];
return(kret);
}
+#if 0
/*
* Serialize krb5_encrypt_block.
*/
printf("* eblock test failed\n");
return(kret);
}
+#endif
/*
* Serialize krb5_principal
#include "k5-int.h"
+#include "int-proto.h"
static krb5_error_code
krb5_cc_copy_creds_except(context, incc, outcc, princ)