technion/libscrypt — pull request #23 by developernotes (2014-07-07 15:18:11+00:00)
Title: Return actual error code in failure state of libscrypt_scrypt

Hello,

When integrating libscrypt I was getting a `-1` value on calls to `libscrypt_scrypt`. The following change allows the client developer to diagnose the error being generated when calling `libscrypt_scrypt` with invalid arguments. Please let me know if you have any further questions. Thanks!