From: Ben Boeckel <mathstuf@gmail.com>
To: keyrings@vger.kernel.org
Subject: [PATCH 1/4] keyctl: fix error path message names
Date: Mon, 24 Sep 2018 13:01:56 +0000 [thread overview]
Message-ID: <20180924130159.5299-2-mathstuf@gmail.com> (raw)
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
---
keyctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/keyctl.c b/keyctl.c
index ab43c0a..5cbc92d 100644
--- a/keyctl.c
+++ b/keyctl.c
@@ -1727,7 +1727,7 @@ static void act_keyctl_dh_compute_kdf(int argc, char *argv[])
ret = keyctl_dh_compute_kdf(private, prime, base, argv[5], NULL, 0,
buffer, buflen);
if (ret < 0)
- error("keyctl_dh_compute_alloc");
+ error("keyctl_dh_compute_kdf");
/* hexdump the contents */
printf("%u bytes of data in result:\n", ret);
@@ -1791,7 +1791,7 @@ static void act_keyctl_dh_compute_kdf_oi(int argc, char *argv[])
ret = keyctl_dh_compute_kdf(private, prime, base, argv[5], oi, oilen,
buffer, buflen);
if (ret < 0)
- error("keyctl_dh_compute_alloc");
+ error("keyctl_dh_compute_kdf");
/* hexdump the contents */
printf("%u bytes of data in result:\n", ret);
--
2.17.1
reply other threads:[~2018-09-24 13:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180924130159.5299-2-mathstuf@gmail.com \
--to=mathstuf@gmail.com \
--cc=keyrings@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.