mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 00:09:15 -04:00
- Return EAGAIN errno instead of EKEYREJECTED to fix build with SSL option [1] - Prepend -I../include to CPPFLAGS to stop build breakage from old .h files [2] - While here, add LICENSE and regen one of the original patches (portlint) PR: 202002 [1] PR: 202528 [2] Submitted by: dennis.noordsij@helsinki.fi [1] Submitted by: Anton Sayetsky <vsasjason@gmail.com> [1] Submitted by: Larry Rosenman <ler@lerctr.org> [2] Approved by: feld (mentor) Differential Revision: https://reviews.freebsd.org/D3568
11 lines
372 B
C
11 lines
372 B
C
--- lib/rakp.c.orig 2015-08-19 12:52:44 UTC
|
|
+++ lib/rakp.c
|
|
@@ -482,7 +482,7 @@
|
|
return EINVAL;
|
|
HMAC(rinfo->evp_md, p, rinfo->key_len, idata, 58+idata[57], integ_data, &ilen);
|
|
if (memcmp(data+40, integ_data, rinfo->key_len) != 0)
|
|
- return EKEYREJECTED;
|
|
+ return EAGAIN;
|
|
|
|
/* Now generate the SIK */
|
|
p = ipmi_rmcpp_auth_get_my_rand(info->ainfo, &plen);
|