mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-21 16:42:19 +08:00
fixed some compiler warnings (added string.h include)
This commit is contained in:
parent
61a6e7df12
commit
77cf4b9622
@ -35,6 +35,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
#include "lanplus.h"
|
#include "lanplus.h"
|
||||||
#include "lanplus_crypt.h"
|
#include "lanplus_crypt.h"
|
||||||
#include "lanplus_crypt_impl.h"
|
#include "lanplus_crypt_impl.h"
|
||||||
@ -212,7 +213,7 @@ int lanplus_rakp4_hmac_matches(const struct ipmi_session * session,
|
|||||||
unsigned char mac[20];
|
unsigned char mac[20];
|
||||||
int macLength;
|
int macLength;
|
||||||
|
|
||||||
unsigned int SIDm_lsbf, SIDc_lsbf;
|
unsigned int SIDc_lsbf;
|
||||||
|
|
||||||
if (session->v2_data.auth_alg == IPMI_AUTH_RAKP_NONE)
|
if (session->v2_data.auth_alg == IPMI_AUTH_RAKP_NONE)
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user