From 1a5b422654db1c2fd985e63d5660a98ffa6f30f7 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 13 Aug 2001 19:43:14 +0000 Subject: Fix uninitialized "force" variable. PR: 23203 Submitted by: fenner Approved by: markm --- contrib/opie/opiekey.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib/opie') diff --git a/contrib/opie/opiekey.c b/contrib/opie/opiekey.c index 20f982b..66e6b7b 100644 --- a/contrib/opie/opiekey.c +++ b/contrib/opie/opiekey.c @@ -35,6 +35,9 @@ License Agreement applies to this software. Modified at NRL for OPIE 2.0. Written at Bellcore for the S/Key Version 1 software distribution (skey.c). + +$FreeBSD$ + */ #include "opie_cfg.h" @@ -138,7 +141,7 @@ int main FUNCTION((argc, argv), int argc AND char *argv[]) char *slash; int hex = 0; int type = RESPONSE_STANDARD; - int force; + int force = 0; if (slash = strchr(argv[0], '/')) slash++; -- cgit v1.1