tFix incorrect write of public key - sick - sign and check files using ed25519
 (HTM) git clone git://z3bra.org/sick
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0a1faeea7f13aa5c473500e50674877f92fe6edc
 (DIR) parent 972407f932b6471bf3821cade75cf38cf7cfc9f1
 (HTM) Author: z3bra <willyatmailoodotorg>
       Date:   Sun, 15 May 2016 19:22:11 +0200
       
       Fix incorrect write of public key
       
       Diffstat:
         M sick.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/sick.c b/sick.c
       t@@ -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;