Introducing a trait for key exchange (#20)

This commit is contained in:
Kevin Lewi
2020-07-13 15:23:29 -07:00
committed by GitHub
parent 2959290582
commit f8285c60ba
10 changed files with 627 additions and 490 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ macro_rules! sized_bytes_using_constant_and_try_from {
<Self::Len as generic_array::typenum::Unsigned>::to_usize(),
"bytes",
)?;
std::convert::TryFrom::try_from(checked_bytes)
std::convert::TryFrom::try_from(checked_bytes.to_vec())
}
}
};