#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"
#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
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);
#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
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) {
#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>
#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>
#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"