diff options
| author | 2014-07-08 09:38:55 +0000 | |
|---|---|---|
| committer | 2014-07-08 09:38:55 +0000 | |
| commit | 80a8e717b1cbdc185243d98154ff95cd4d06c545 (patch) | |
| tree | 9a88af3bdd97ced9243981d37105f42f4b547352 /lib/libcrypto/crypto/getentropy_linux.c | |
| parent | j should be an int, like repeat (diff) | |
| download | wireguard-openbsd-80a8e717b1cbdc185243d98154ff95cd4d06c545.tar.xz wireguard-openbsd-80a8e717b1cbdc185243d98154ff95cd4d06c545.zip | |
fix oops, accidental delete.. darn copying of files between machines
Diffstat (limited to 'lib/libcrypto/crypto/getentropy_linux.c')
| -rw-r--r-- | lib/libcrypto/crypto/getentropy_linux.c | 4 |
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++) |
