Add SECRETKEY state
This commit is contained in:
1 parent
ec9c59ce69
commit
17547f555d
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user