Aapo Talvensaari aapo.talvensaari@gmail.com writes:
sometimes return longer dst than what was requested. See:
https://github.com/bungle/lua-resty-nettle/blob/master/lib/resty/nettle/pbkd...
I had to put ":sub(1, len)" to overcome that.
How does ffi_str work? You're aware that the output is binary data, with no NUL-termination?
If it is a bug in nettle, it would help if you could provide a minimal C program that let's me reproduce the problem.
Regards, /Niels