fix include files
authorJohn Kohl <jtkohl@mit.edu>
Wed, 23 May 1990 13:35:23 +0000 (13:35 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 23 May 1990 13:35:23 +0000 (13:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@918 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/dispatch.c
src/kdc/do_as_req.c
src/kdc/do_tgs_req.c
src/kdc/kdc_util.c
src/kdc/main.c
src/kdc/network.c

index c4fa6727770b447a62d3dead748736b1cda26542..b1bd65b80a997dc060a91902a6592a32492fd792 100644 (file)
@@ -18,8 +18,6 @@ static char rcsid_dispatch_c[] =
 #include <krb5/copyright.h>
 #include <krb5/krb5.h>
 #include <krb5/asn1.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
 #include <krb5/kdb.h>
 #include "kdc_util.h"
 
index 8329711b7a87e1eebce3595ce8adac40b4c85794..91a2a89d8d1b7db2863308197e527ff5f7b2800e 100644 (file)
@@ -18,20 +18,17 @@ static char rcsid_do_as_req_c[] =
 #include <krb5/copyright.h>
 
 #include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
 #include <krb5/kdb.h>
-#include <stdio.h>
 #include <krb5/libos-proto.h>
 #include <krb5/asn1.h>
 #include <krb5/osconf.h>
-#include <errno.h>
 #include <com_err.h>
 
-#include <sys/types.h>
 #include <krb5/ext-proto.h>
 
 #include <syslog.h>
 #ifdef KRB5_USE_INET
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
@@ -233,6 +230,7 @@ krb5_data **response;                       /* filled in with a response packet */
        cleanup();
        return retval;
     }
+    enc_tkt_reply.confounder = krb5_random_confounder();
     retval = krb5_encrypt_tkt_part(&encrypting_key, &ticket_reply);
     bzero((char *)encrypting_key.contents, encrypting_key.length);
     free((char *)encrypting_key.contents);
index eeff5d07bbacc461da8ba8c1af7ba8fea9ae915d..9ea76d8014696634cef4836f647d1ef8356b245e 100644 (file)
@@ -18,20 +18,16 @@ static char rcsid_do_tgs_req_c[] =
 #include <krb5/copyright.h>
 
 #include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
 #include <krb5/kdb.h>
-#include <stdio.h>
 #include <krb5/libos-proto.h>
 #include <krb5/asn1.h>
 #include <krb5/osconf.h>
-#include <errno.h>
-#include <com_err.h>
-
-#include <sys/types.h>
 #include <krb5/ext-proto.h>
+#include <com_err.h>
 
 #include <syslog.h>
 #ifdef KRB5_USE_INET
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
@@ -373,6 +369,8 @@ krb5_data **response;                       /* filled in with a response packet */
                   if (newtransited) free(enc_tkt_reply.transited.data);}
 
     ticket_reply.enc_part2 = &enc_tkt_reply;
+    enc_tkt_reply.confounder = krb5_random_confounder();
+
     if (isflagset(realreq->kdc_options, KDC_OPT_ENC_TKT_IN_SKEY)) {
        if (!second_ticket) {
            if (!realreq->enc_part2) {
index 9a660c99f3b9c0f5b832b3d8d9ef1b705d2556ab..1c6adcdb614b3ddb96fbaaa08deb2fe4abb71bef 100644 (file)
@@ -18,14 +18,11 @@ static char rcsid_kdc_util_c[] =
 #include <krb5/copyright.h>
 #include <krb5/krb5.h>
 #include <krb5/kdb.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
 #include <krb5/asn1.h>
 
 #include "kdc_util.h"
 #include "extern.h"
 
-#include <errno.h>
 #include <krb5/ext-proto.h>
 #include <stdio.h>
 
index 6052c6a1e9d4fe8218df93fe1f5b43751ab92f2c..978d9ee43665527b83210348c1b1f2bc98b217f4 100644 (file)
@@ -33,9 +33,6 @@ static char rcsid_main_c[] =
 #include <krb5/osconf.h>
 #include <krb5/kdb.h>
 #include <krb5/kdb_dbm.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
-#include <krb5/kdb5_err.h>
 #include <krb5/libos-proto.h>
 #include <krb5/ext-proto.h>
 
index 16d48d6bd60144aaff3fec2b848b875dea317da2..2d18ef3c228d1b453bb955bc1cbb88498e3853c0 100644 (file)
@@ -19,11 +19,9 @@ static char rcsid_network_c[] =
 #include <krb5/osconf.h>
 #include <krb5/krb5.h>
 #include <krb5/ext-proto.h>
-#include <stdio.h>
 #include <krb5/libos-proto.h>
-#include <errno.h>
-#include <com_err.h>
 #include <krb5/kdb.h>
+#include <com_err.h>
 #include "kdc_util.h"
 #include "extern.h"
 #include "kdc5_err.h"