cryptosense / pkcs11

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

Non-eraseable default arguments #89

Closed emillon closed 6 years ago

emillon commented 6 years ago

The signature of load_driver has only optional and named arguments, so it's impossible to erase the default arguments. Adding a dummy () argument or making dll not-named would solve the problem.