From 79b5e81a5e6f40642bb96c692f3be9a5cdd48f62 Mon Sep 17 00:00:00 2001 From: Wilbern Cobb Date: Sun, 23 Jun 2002 21:46:11 +0000 Subject: initialize some variables. ok markus@ --- regress/sys/crypto/auth/md5.c | 4 ++-- regress/sys/crypto/enc/des3.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/regress/sys/crypto/auth/md5.c b/regress/sys/crypto/auth/md5.c index 787d5c961bb..8de6b7f8a77 100644 --- a/regress/sys/crypto/auth/md5.c +++ b/regress/sys/crypto/auth/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.2 2002/04/03 18:42:15 fgsch Exp $ */ +/* $OpenBSD: md5.c,v 1.3 2002/06/23 21:46:10 wcobb Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserverd. @@ -145,7 +145,7 @@ static struct { int main(int argc, char **argv) { - int allowed, i, count, fail; + int allowed = 0, i, count, fail; char *md; if (geteuid() == 0) { diff --git a/regress/sys/crypto/enc/des3.c b/regress/sys/crypto/enc/des3.c index d493815f72b..49eda4d4113 100644 --- a/regress/sys/crypto/enc/des3.c +++ b/regress/sys/crypto/enc/des3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: des3.c,v 1.4 2002/04/03 21:33:41 markus Exp $ */ +/* $OpenBSD: des3.c,v 1.5 2002/06/23 21:46:10 wcobb Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserverd. @@ -149,8 +149,8 @@ main(int argc, char **argv) des_key_schedule ks1, ks2, ks3; unsigned char iv0[8], iv[8], key[24] = "012345670123456701234567"; unsigned char b1[SZ], b2[SZ]; - int allowed, i, fail = 0; - u_int32_t rand; + int allowed = 0, i, fail = 0; + u_int32_t rand = 0; if (geteuid() == 0) { allowed = getallowsoft(); -- cgit v1.2.3