Khady / ocaml-argon2

Ocaml bindings to Argon2
MIT License
29 stars 8 forks source link

potential typo in bindings #8

Closed joprice closed 10 months ago

joprice commented 10 months ago

I was having trouble with static linking of this library, due to the symbols not being found at runtime, so I tried switching it over to use stub generation https://github.com/Khady/ocaml-argon2/compare/master...joprice:stubs. This got it to work, but while doing so, I noticed that argon2id_verify calls argon2d_verify https://github.com/Khady/ocaml-argon2/blob/master/src/argon2.ml#L227.

let argon2id_verify = verify "argon2d_verify"
Khady commented 10 months ago

thanks!