typedef INT64_TYPE krb5_int64;
-#define DEFAULT_PWD_STRING1 "Enter password"
-#define DEFAULT_PWD_STRING2 "Re-enter password for verification"
-
#define KRB5_KDB_MAX_LIFE (60*60*24) /* one day */
#define KRB5_KDB_MAX_RLIFE (60*60*24*7) /* one week */
#define KRB5_KDB_EXPIRATION 2145830400 /* Thu Jan 1 00:00:00 2038 UTC */
lock_file.o \
net_read.o \
net_write.o \
- osconfig.o \
port2ip.o \
prompter.o \
read_msg.o \
$(OUTPRE)lock_file.$(OBJEXT) \
$(OUTPRE)net_read.$(OBJEXT) \
$(OUTPRE)net_write.$(OBJEXT) \
- $(OUTPRE)osconfig.$(OBJEXT) \
$(OUTPRE)port2ip.$(OBJEXT) \
$(OUTPRE)prompter.$(OBJEXT) \
$(OUTPRE)read_msg.$(OBJEXT) \
$(srcdir)/lock_file.c \
$(srcdir)/net_read.c \
$(srcdir)/net_write.c \
- $(srcdir)/osconfig.c \
$(srcdir)/prompter.c \
$(srcdir)/read_msg.c \
$(srcdir)/read_pwd.c \
extern unsigned int krb5_max_skdc_timeout;
extern unsigned int krb5_skdc_timeout_shift;
extern unsigned int krb5_skdc_timeout_1;
-extern unsigned int krb5_max_dgram_size;
krb5_error_code localauth_names_initvt(krb5_context context, int maj_ver,
int min_ver, krb5_plugin_vtable vtable);
+++ /dev/null
-/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/krb5/os/osconfig.c */
-/*
- * Copyright 1990 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
- * your software as modified software and not distribute it in such a
- * fashion that it might be confused with the original M.I.T. software.
- * M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- */
-
-/*
- * Definition of default configuration parameters.
- *
- * ***** WARNING *****
- * These globals are internal library interfaces and are not
- * supported. Do not use them in any production code, as they will be
- * removed from the library in the future.
- */
-
-#include "k5-int.h"
-
-unsigned int krb5_max_dgram_size = MAX_DGRAM_SIZE;
-
-const char *krb5_default_pwd_prompt1 = DEFAULT_PWD_STRING1;
-const char *krb5_default_pwd_prompt2 = DEFAULT_PWD_STRING2;
set_conn_state_msg_length (state, message);
if (*udpbufp == NULL) {
- *udpbufp = malloc(krb5_max_dgram_size);
+ *udpbufp = malloc(MAX_DGRAM_SIZE);
if (*udpbufp == 0)
return ENOMEM;
}
state->x.in.buf = *udpbufp;
- state->x.in.bufsize = krb5_max_dgram_size;
+ state->x.in.bufsize = MAX_DGRAM_SIZE;
}
/* Chain the new state onto the tail of the list. */