On 08/19/2015 07:47 AM, Dennis Noordsij wrote: > Hi, > > In 2.0.19, in lib/rakp.c: > > Konsole output 483 HMAC(rinfo->evp_md, p, rinfo->key_len, idata, > 58+idata[57], integ_data, &ilen); > 484 if (memcmp(data+40, integ_data, rinfo->key_len) != 0) > 485 return EINVAL; > 486 > > was changed to (2.0.21) lib/rakp.c: > > 483 HMAC(rinfo->evp_md, p, rinfo->key_len, idata, 58+idata[57], > integ_data, &ilen); > 484 if (memcmp(data+40, integ_data, rinfo->key_len) != 0) > 485 return EKEYREJECTED; > 486 > > > The EKEYREJECTED errno is, as far as I could Google, a Linuxism, and > does not compile on for example FreeBSD, and I imagine other platforms. > The default FreeBSD port configuration does not enable the RCMP+ option > so it is not caught in the bulk testing, but anyone who wants to for > example have Zabbix check a "modern" IPMI 2.0 host using OpenIPMI and > compiles their own ports runs into this. > > It's easy enough to work around in FreeBSD (undo the change), but it > would probably be better if it were behind a linux platform ifdef?
I just changed it back to EAGAIN. Sorry about that. -corey > Thank you, > Dennis > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Openipmi-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openipmi-developer ------------------------------------------------------------------------------ _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
