summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-07-08 09:38:56 +0000
committerBob Beck <beck@cvs.openbsd.org>2014-07-08 09:38:56 +0000
commitd7828e93ca11cf9f8e51ffc9e769d65c01eccbdd (patch)
treed26e1116ad96ec9247429dba476532b3b2d9b16b
parentac9087758162df76952a59193bfdaa9e89f8d485 (diff)
fix oops, accidental delete.. darn copying of files between machines
-rw-r--r--lib/libcrypto/crypto/getentropy_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/crypto/getentropy_linux.c b/lib/libcrypto/crypto/getentropy_linux.c
index 578c65bbe47..3fd30316d20 100644
--- a/lib/libcrypto/crypto/getentropy_linux.c
+++ b/lib/libcrypto/crypto/getentropy_linux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getentropy_linux.c,v 1.17 2014/07/08 09:30:33 beck Exp $ */
+/* $OpenBSD: getentropy_linux.c,v 1.18 2014/07/08 09:38:55 beck Exp $ */
/*
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -317,7 +317,7 @@ getentropy_fallback(void *buf, size_t len)
HX((e = gettimeofday(&tv, NULL)) == -1, tv);
if (e != -1) {
cnt += (int)tv.tv_sec;
- nt += (int)tv.tv_usec;
+ cnt += (int)tv.tv_usec;
}
for (ii = 0; ii < sizeof(cl)/sizeof(cl[0]); ii++)