sick

sign and check files using ed25519
git clone git://z3bra.org/sick
Log | Files | Refs | Submodules | README | LICENSE

commit 0a1faeea7f13aa5c473500e50674877f92fe6edc
parent 972407f932b6471bf3821cade75cf38cf7cfc9f1
Author: z3bra <willyatmailoodotorg>
Date:   Sun May 15 19:22:11 2016

Fix incorrect write of public key

Diffstat:
 sick.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sick.c b/sick.c @@ -97,7 +97,7 @@ createkeypair(const char *alias) perror(fn); return -1; } - if (fwrite(priv, 1, sizeof(pub), fp) < sizeof(pub)) { + if (fwrite(pub, 1, sizeof(pub), fp) < sizeof(pub)) { fclose(fp); perror(fn); return -1;