diff options
author | Wilbern Cobb <wcobb@cvs.openbsd.org> | 2002-06-23 21:46:11 +0000 |
---|---|---|
committer | Wilbern Cobb <wcobb@cvs.openbsd.org> | 2002-06-23 21:46:11 +0000 |
commit | 79b5e81a5e6f40642bb96c692f3be9a5cdd48f62 (patch) | |
tree | 8dbbe7ab4abe916423427ce840a7ee0b4f2660d6 /regress/sys/crypto | |
parent | b3a350688220268313d816c904ddb8e15d44683c (diff) |
initialize some variables.
ok markus@
Diffstat (limited to 'regress/sys/crypto')
-rw-r--r-- | regress/sys/crypto/auth/md5.c | 4 | ||||
-rw-r--r-- | 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(); |