From 578536337826fc191d30a85fd7e89a78652b40df Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Fri, 10 Apr 2009 00:15:29 +0000 Subject: kstuff.c: Turn off the replay cache (at least with MIT krb5 1.6) All three authentication checks: Initialize cksum1_buf so gcc will shut up. --- lib/ZCkZAut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ZCkZAut.c') diff --git a/lib/ZCkZAut.c b/lib/ZCkZAut.c index 0e5df8b..69bca56 100644 --- a/lib/ZCkZAut.c +++ b/lib/ZCkZAut.c @@ -42,7 +42,7 @@ Code_t ZCheckZcodeAuthentication(ZNotice_t *notice, krb5_cksumtype cksumtype; krb5_data cksumbuf; int valid; - char *cksum0_base, *cksum1_base, *cksum2_base; + char *cksum0_base, *cksum1_base = NULL, *cksum2_base; char *x; unsigned char *asn1_data, *key_data; int asn1_len, key_len, cksum0_len = 0, cksum1_len = 0, cksum2_len = 0; -- cgit v1.2.3