initialize now before calling make_ap_req.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10396
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Jan 30 23:07:40 1998 Tom Yu <tlyu@mit.edu>
+
+ * init_sec_context.c (krb5_gss_init_sec_context): Actually
+ initialize now before calling make_ap_req.
+
Thu Jan 29 20:08:02 1998 Dan Winship <danw@mit.edu>
* accept_sec_context.c (rd_and_store_for_creds): Don't mess with
ctx->big_endian = 0; /* all initiators do little-endian, as per spec */
ctx->seqstate = 0;
+ if ((code = krb5_timeofday(context, &now))) {
+ free(ctx);
+ *minor_status = code;
+ return(GSS_S_FAILURE);
+ }
if (time_req == 0 || time_req == GSS_C_INDEFINITE) {
ctx->endtime = 0;
} else {
- if ((code = krb5_timeofday(context, &now))) {
- free(ctx);
- *minor_status = code;
- return(GSS_S_FAILURE);
- }
ctx->endtime = now + time_req;
}