diff options
author | 1997-07-25 16:21:42 +0000 | |
---|---|---|
committer | 1997-07-25 16:21:42 +0000 | |
commit | 47be568d2b39fe460b867d413fe9418406908bd8 (patch) | |
tree | 8757258cecb60f3d56d2f45bc4a54e8fbb20a112 | |
parent | more to the point err. msg. (diff) | |
download | wireguard-openbsd-47be568d2b39fe460b867d413fe9418406908bd8.tar.xz wireguard-openbsd-47be568d2b39fe460b867d413fe9418406908bd8.zip |
initialize variable!! found by mickey
-rw-r--r-- | sbin/ipsec/photurisd/handle_cookie_request.c | 6 |
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]; |