Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serializer: enforce serialization as array
The implementation of array deserializer expects the payload to be serialized as array. Sadly the serializer left the door open for the underlying serializer to choice either bytes or array, if available. This would only occur when the objects are used outside yubihsm.rs. This change was tested on both mockhsm and yubihsm on usb.
- Loading branch information