Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/crypto/dist/heimdal/kdc Pull up revisions 1.3, 1.5 (via ...



details:   https://anonhg.NetBSD.org/src/rev/6a33f1219f9a
branches:  netbsd-1-5
changeset: 491180:6a33f1219f9a
user:      he <he%NetBSD.org@localhost>
date:      Thu Apr 05 23:31:14 2001 +0000

description:
Pull up revisions 1.3,1.5 (via patch, requested by assar):
  Upgrade Heimdal to version 0.3e.

diffstat:

 crypto/dist/heimdal/kdc/kdc_locl.h |  29 ++++++++++++++++++-----------
 1 files changed, 18 insertions(+), 11 deletions(-)

diffs (74 lines):

diff -r c96b78cd9305 -r 6a33f1219f9a crypto/dist/heimdal/kdc/kdc_locl.h
--- a/crypto/dist/heimdal/kdc/kdc_locl.h        Thu Apr 05 23:30:46 2001 +0000
+++ b/crypto/dist/heimdal/kdc/kdc_locl.h        Thu Apr 05 23:31:14 2001 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997-2000 Kungliga Tekniska Högskolan
+ * Copyright (c) 1997-2001 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden). 
  * All rights reserved. 
  *
@@ -32,7 +32,7 @@
  */
 
 /* 
- * $Id: kdc_locl.h,v 1.1.1.1.2.2 2000/10/17 19:50:32 tv Exp $ 
+ * $Id: kdc_locl.h,v 1.1.1.1.2.3 2001/04/05 23:31:14 he Exp $ 
  */
 
 #ifndef __KDC_LOCL_H__
@@ -66,23 +66,30 @@
 
 #ifdef KRB4
 extern char *v4_realm;
+extern int enable_v4;
+extern int enable_524;
 #endif
 #ifdef KASERVER
 extern krb5_boolean enable_kaserver;
 #endif
 
+#define _PATH_KDC_CONF         "/etc/kdc.conf"
+#define DEFAULT_LOG_DEST       "0-1/FILE:/var/log/kdc.log"
+
 extern struct timeval now;
 #define kdc_time (now.tv_sec)
 
 krb5_error_code as_rep (KDC_REQ*, krb5_data*, const char*, struct sockaddr*);
 void configure (int, char**);
-hdb_entry* db_fetch (krb5_principal);
+krb5_error_code db_fetch (krb5_principal, hdb_entry**);
+void free_ent(hdb_entry *);
 void kdc_log (int, const char*, ...)
-       __attribute__((__format__(__printf__, 2, 3)));
+    __attribute__ ((__format__ (__printf__, 2,3)));
+
 char* kdc_log_msg (int, const char*, ...)
-       __attribute__((__format__(__printf__, 2, 3)));
+    __attribute__ ((__format__ (__printf__, 2,3)));
 char* kdc_log_msg_va (int, const char*, va_list)
-       __attribute__((__format__(__printf__, 2, 0)));
+    __attribute__ ((__format__ (__printf__, 2,0)));
 void kdc_openlog (krb5_config_section*);
 void loop (void);
 void set_master_key (EncryptionKey);
@@ -93,14 +100,14 @@
                            krb5_boolean is_as_req);
 
 #ifdef KRB4
-hdb_entry* db_fetch4 (const char*, const char*, const char*);
-krb5_error_code do_524 (Ticket*, krb5_data*, const char*, struct sockaddr*);
+krb5_error_code db_fetch4 (const char*, const char*, const char*, hdb_entry**);
+krb5_error_code do_524 (const Ticket*, krb5_data*, const char*, struct sockaddr*);
 krb5_error_code do_version4 (unsigned char*, size_t, krb5_data*, const char*, 
                             struct sockaddr_in*);
-krb5_error_code encode_v4_ticket (void*, size_t, EncTicketPart*, 
-                                 PrincipalName*, size_t*);
+krb5_error_code encode_v4_ticket (void*, size_t, const EncTicketPart*, 
+                                 const PrincipalName*, size_t*);
 krb5_error_code encrypt_v4_ticket (void*, size_t, des_cblock*, EncryptedData*);
-krb5_error_code get_des_key(hdb_entry*, Key**);
+krb5_error_code get_des_key(hdb_entry*, krb5_boolean, Key**);
 int maybe_version4 (unsigned char*, int);
 #endif
 



Home | Main Index | Thread Index | Old Index