mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
ecdh: Fix warning
This commit is contained in:
parent
44c4074c35
commit
1e6df6a226
@ -148,7 +148,7 @@ bool ecdh_generate_shared_secret(const void *private, const void *other_public,
|
|||||||
} else if (pub_len == 64) {
|
} else if (pub_len == 64) {
|
||||||
memcpy(&public, other_public, 64);
|
memcpy(&public, other_public, 64);
|
||||||
} else {
|
} else {
|
||||||
l_error("unsupported public key length %ld", pub_len);
|
l_error("unsupported public key length %zu", pub_len);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user