+2003-03-06 Alexandra Ellwood <lxs@mit.edu>
+
+ * appdefault.c: Fix constness to avoid warning.
+
+ * init_ctx.c: Do the same stuff on the Mac as on Unix.
+
+ * preauth2.c: Added cast to fix warning.
+
2003-03-04 Tom Yu <tlyu@mit.edu>
* srv_rcache.c (krb5_get_server_rcache): Fix missed
static int conf_boolean(char *s)
{
- const char **p;
+ const char * const *p;
for(p=conf_yes; *p; p++) {
if (!strcasecmp(*p,s))
return 1;
#include <ctype.h>
#include "brand.c"
/* There has to be a better way for windows... */
-#if defined(unix)
+#if defined(unix) || TARGET_OS_MAC
#include "../krb5_libinit.h"
#endif
/* enc_sam_response_enc_2 from above */
retval = krb5_c_encrypt_length(context, as_key->enctype, scratch->length,
- (unsigned int *) &sr2.sam_enc_nonce_or_sad.ciphertext.length);
+ (size_t *) &sr2.sam_enc_nonce_or_sad.ciphertext.length);
if (retval) {
krb5_free_sam_challenge_2(context, sc2);
krb5_free_sam_challenge_2_body(context, sc2b);