Projects
Mega:24.03
libkcapi
_service:tar_scm:backport-Append-newline-to-std...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Append-newline-to-stdout.patch of Package libkcapi
From 8776e34e11351265f6efde0db5ecddecac3ab217 Mon Sep 17 00:00:00 2001 From: yixiangzhike <yixiangzhike007@163.com> 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 <yixiangzhike007@163.com> Signed-off-by: Stephan Mueller <smueller@chronox.de> --- 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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2