summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-07-25 16:21:43 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-07-25 16:21:43 +0000
commit4fbf0a2968f2d776d2ac2437db1195eb06af6dde (patch)
tree4ac57e9eaa13a45a6cc689601cbd4269a89a47ae /sbin
parent90fc2c85609a8fb858575642d17dea9b71da9551 (diff)
initialize variable!! found by mickey
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsec/photurisd/handle_cookie_request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsec/photurisd/handle_cookie_request.c b/sbin/ipsec/photurisd/handle_cookie_request.c
index eb5019dcb2e..13ab24c8131 100644
--- a/sbin/ipsec/photurisd/handle_cookie_request.c
+++ b/sbin/ipsec/photurisd/handle_cookie_request.c
@@ -1,4 +1,4 @@
-/*
+ /*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
* All rights reserved.
*
@@ -34,7 +34,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: handle_cookie_request.c,v 1.2 1997/07/22 11:18:22 provos Exp $";
+static char rcsid[] = "$Id: handle_cookie_request.c,v 1.3 1997/07/25 16:21:42 provos Exp $";
#endif
#include <stdio.h>
@@ -56,7 +56,7 @@ handle_cookie_request(u_char *packet, int size,
{
struct cookie_request *header;
- struct stateob *prev_st, *st;
+ struct stateob *prev_st, *st = NULL;
time_t tm = 0;
u_int8_t icookie[COOKIE_SIZE];