From d716f2b96aca06cd8b2fb84e9fe1f601de645c94 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 10 Apr 2006 11:02:49 +0000 Subject: [PATCH] * kdc_preauth.c (verify_enc_timestamp): Initialize decrypt_err git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17886 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 4 ++++ src/kdc/kdc_preauth.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index e6c789fad..29954e38d 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,7 @@ +2006-04-10 Ken Raeburn + + * kdc_preauth.c (verify_enc_timestamp): Initialize decrypt_err. + 2006-04-03 Ken Raeburn * Makefile.in (DEFS): Make empty. diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c index 0fcb62a74..d5698ebf8 100644 --- a/src/kdc/kdc_preauth.c +++ b/src/kdc/kdc_preauth.c @@ -516,7 +516,7 @@ verify_enc_timestamp(krb5_context context, krb5_db_entry *client, krb5_key_data * client_key; krb5_int32 start; krb5_timestamp timenow; - krb5_error_code decrypt_err; + krb5_error_code decrypt_err = 0; scratch.data = pa->contents; scratch.length = pa->length; -- 2.26.2