代码拉取完成,页面将自动刷新
From 8776e34e11351265f6efde0db5ecddecac3ab217 Mon Sep 17 00:00:00 2001
From: yixiangzhike <[email protected]>
Date: Mon, 26 Jun 2023 22:22:15 +0800
Subject: [PATCH] Append newline to stdout
Append newline to stdout for printing hash may be a good experience.
Signed-off-by: yixiangzhike <[email protected]>
Signed-off-by: Stephan Mueller <[email protected]>
---
apps/kcapi-hasher.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/apps/kcapi-hasher.c b/apps/kcapi-hasher.c
index 7c53f90..fd60536 100644
--- a/apps/kcapi-hasher.c
+++ b/apps/kcapi-hasher.c
@@ -905,12 +905,14 @@ int main(int argc, char *argv[])
.bsd_style = 0,
.hashlen = 0,
.key = KEY_FIPSCHECK,
+ .newline = 1,
};
const struct hash_params PARAMS_SELF_HMACCALC = {
.name = NAMES_SHA512[1],
.bsd_style = 0,
.hashlen = 0,
.key = KEY_HMACCALC,
+ .newline = 1,
};
basec = strdup(argv[0]);
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。