diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/socket/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index bcc28ae6..00c90560 100644 --- a/src/sys/socket/mod.rs +++ b/src/sys/socket/mod.rs @@ -1292,7 +1292,7 @@ impl<'a> ControlMessage<'a> { } #[cfg(any(target_os = "android", target_os = "linux"))] ControlMessage::AlgSetIv(iv) => { - mem::size_of_val(&iv) + iv.len() + mem::size_of::<&[u8]>() + iv.len() }, #[cfg(any(target_os = "android", target_os = "linux"))] ControlMessage::AlgSetOp(op) => { |