Skip to contentSkip to conversation

keyctl: fix error path message names

PATCH Superseded Ben Boeckel 1 participant 1 message Sep 24, 2018 Keys/keyrings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 keyctl: fix error path message names

---
 keyctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
keyctl.c +2 -2
index ab43c0a..5cbc92d 100644
@@ -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);
Signature · 1 line
2.17.1