From 7094b4f8381d5122f5a88d58795903d2645f9de2 Mon Sep 17 00:00:00 2001 From: Jeremy Ellington Date: Wed, 23 Feb 2005 20:54:06 +0000 Subject: [PATCH] Correct comment in return code description for lanplus_rakp4_matches --- ipmitool/src/plugins/lanplus/lanplus_crypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipmitool/src/plugins/lanplus/lanplus_crypt.c b/ipmitool/src/plugins/lanplus/lanplus_crypt.c index 8a9079b..da2917f 100644 --- a/ipmitool/src/plugins/lanplus/lanplus_crypt.c +++ b/ipmitool/src/plugins/lanplus/lanplus_crypt.c @@ -211,8 +211,8 @@ int lanplus_rakp2_hmac_matches(const struct ipmi_session * session, * * If the authentication algorithm is IPMI_AUTH_RAKP_NONE, we return success. * - * return 0 on success (the authcode matches) - * 1 on failure (the authcode does not match) + * return 1 on success (the authcode matches) + * 0 on failure (the authcode does not match) */ int lanplus_rakp4_hmac_matches(const struct ipmi_session * session, const uint8_t * bmc_mac)