cryptosense / pkcs11

OCaml bindings for the PKCS#11 cryptographic API
BSD 2-Clause "Simplified" License
22 stars 6 forks source link

Fix hex data parsing on invalid JSON strings #105

Closed bbc2 closed 6 years ago

bbc2 commented 6 years ago

This adds test for P11_hex_data.of_yojson and avoids exceptions for the following cases: