* [PATCH 1/4] keyctl: fix error path message names
@ 2018-09-24 13:01 Ben Boeckel
0 siblings, 0 replies; only message in thread
From: Ben Boeckel @ 2018-09-24 13:01 UTC (permalink / raw)
To: keyrings
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-24 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 13:01 [PATCH 1/4] keyctl: fix error path message names Ben Boeckel
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.