is set before potentially used in case the packet has an error.
* kdc_preauth.c (get_sam_edata): Remove unused variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10183
dc483132-0cff-0310-8789-
dd5450dbe970
-Mon Aug 18 12:29:08 1997 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+Mon Aug 18 12:29:08 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * do_tgs_req.c (process_tgs_req): Initialize authtime to 0 so it
+ is set before potentially used in case the packet has an error.
+
+ * kdc_preauth.c (get_sam_edata): Remove unused variables.
* kdc_util.h: Added prototype for setup_server_realm().
krb5_error_code retval = 0;
int nprincs = 0;
krb5_boolean more;
- krb5_timestamp kdc_time, authtime;
+ krb5_timestamp kdc_time, authtime=0;
krb5_keyblock *session_key = 0;
krb5_timestamp until, rtime;
krb5_keyblock encrypting_key;
krb5_predicted_sam_response psr;
krb5_data * scratch;
int i = 0;
- int start = 0;
krb5_encrypt_block eblock;
krb5_keyblock encrypting_key;
char response[9];
*/
{
- char *uname;
int npr = 1;
krb5_boolean more;
krb5_db_entry assoc;
krb5_key_data *assoc_key;
krb5_principal newp;
- int newlen;
int probeslot;
sc.sam_type = 0;