From 17547f555d07df9c1a7823dca44eebf5e48af0f0 Mon Sep 17 00:00:00 2001 From: angt Date: Mon, 18 Jan 2016 18:07:35 +0100 Subject: [PATCH] Add SECRETKEY state --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 7e76060..c0221db 100644 --- a/src/main.c +++ b/src/main.c @@ -922,8 +922,7 @@ static int gt_setup_secretkey (struct crypto_ctx *ctx, char *keyfile) randombytes_buf(ctx->skey, size); gt_tohex(buf, sizeof(buf), ctx->skey, size); - - gt_print("new secret key: %s\n", buf); + state("SECRETKEY", buf); return 0; }