* $Source$
* $Author$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
"$Id$";
#endif /* !lint && !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/asn1.h>
#include <krb5/osconf.h>
exit(1);
}
his_seq_num = rep_result->seq_number;
- krb5_free_ap_rep_enc_part(repl);
+ krb5_free_ap_rep_enc_part(rep_result);
}
/*
if (retval = krb5_mk_safe(&inbuf, KPROP_CKSUMTYPE,
&my_creds.keyblock,
&sender_addr, &receiver_addr,
- my_seq_num++, KRB5_PRIV_DOSEQUENCE,
+ my_seq_num++,
+ KRB5_PRIV_DOSEQUENCE|KRB5_SAFE_NOTIME,
+ 0, /* no rcache when NOTIME */
&outbuf)) {
com_err(progname, retval, "while encoding database size");
send_error(fd, "while encoding database size", retval);
&sender_addr,
&receiver_addr,
my_seq_num++,
- KRB5_PRIV_DOSEQUENCE,
+ KRB5_PRIV_DOSEQUENCE|KRB5_PRIV_NOTIME,
+ 0, /* again, no rcache */
i_vector,
&outbuf)) {
sprintf(buf,
}
if (retval = krb5_rd_safe(&inbuf, &my_creds.keyblock, &receiver_addr,
&sender_addr, his_seq_num++,
- KRB5_SAFE_DOSEQUENCE, 0, &outbuf)) {
+ KRB5_SAFE_DOSEQUENCE|KRB5_SAFE_NOTIME,
+ 0, &outbuf)) {
com_err(progname, retval,
"while decoding final size packet from server");
exit(1);
* $Source$
* $Author$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
"$Id$";
#endif /* !lint && !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/asn1.h>
#include <krb5/osconf.h>
#include <errno.h>
#include <stdio.h>
+#ifndef __STDC__
+/* com_err.h gets <stdarg.h> */
#include <varargs.h>
+#endif
#include <ctype.h>
#include <sys/file.h>
#include <signal.h>
recv_error(&inbuf);
if (retval = krb5_rd_safe(&inbuf, session_key, &sender_addr,
&receiver_addr, his_seq_num++,
- KRB5_SAFE_DOSEQUENCE, 0, &outbuf)) {
+ KRB5_SAFE_DOSEQUENCE|KRB5_SAFE_NOTIME,
+ 0, &outbuf)) {
send_error(fd, retval, "while decoding database size");
xfree(inbuf.data);
com_err(progname, retval,
recv_error(&inbuf);
if (retval = krb5_rd_priv(&inbuf, session_key,
&sender_addr, &receiver_addr,
- his_seq_num++, KRB5_PRIV_DOSEQUENCE,
+ his_seq_num++,
+ KRB5_PRIV_DOSEQUENCE|KRB5_PRIV_NOTIME,
i_vector, 0, &outbuf)) {
sprintf(buf,
"while decoding database block starting at offset %d",
/* Note these are reversed because */
/* we are sending, not receiving! */
&receiver_addr, &sender_addr,
- my_seq_num++, KRB5_PRIV_DOSEQUENCE,
+ my_seq_num++,
+ KRB5_PRIV_DOSEQUENCE|KRB5_PRIV_NOTIME,
+ 0, /* no rcache when NOTIME */
&outbuf)) {
com_err(progname, retval,
"while encoding # of receieved bytes");