Add SECRETKEY state
This commit is contained in:
@@ -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