Add SECRETKEY state

This commit is contained in:
angt
2016-01-18 18:07:35 +01:00
parent ec9c59ce69
commit 17547f555d

View File

@@ -922,8 +922,7 @@ static int gt_setup_secretkey (struct crypto_ctx *ctx, char *keyfile)
randombytes_buf(ctx->skey, size); randombytes_buf(ctx->skey, size);
gt_tohex(buf, sizeof(buf), ctx->skey, size); gt_tohex(buf, sizeof(buf), ctx->skey, size);
state("SECRETKEY", buf);
gt_print("new secret key: %s\n", buf);
return 0; return 0;
} }