From 9706645191c9fa77d3e6d4d36238d1d885471f0f Mon Sep 17 00:00:00 2001 From: cathugger Date: Sat, 30 Sep 2017 20:34:09 +0000 Subject: [PATCH] small secret key carry propagation fix, include email addr --- README.txt | 3 +++ main.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 6f7a777..1d6fa04 100644 --- a/README.txt +++ b/README.txt @@ -18,6 +18,9 @@ for each discovered service. By default root is current directory, but that can be overridden with -d switch. Use -h switch to obtain all avaiable options. +CONTACT: +For bug reports/questions/whatever else, email cathugger at cock dot li. + ACKNOWLEDGEMENTS & LEGAL: To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see . diff --git a/main.c b/main.c index c397fe8..3af6df4 100644 --- a/main.c +++ b/main.c @@ -386,7 +386,7 @@ static void addu64toscalar32(u8 *dst,u64 v) { int i; u32 c = 0; - for (i = 0;i < 8;++i) { + for (i = 0;i < 32;++i) { c += *dst + (v & 0xFF); *dst = c & 0xFF; c >>= 8; v >>= 8; ++dst;