diff options
author | tedu <> | 2015-01-07 15:46:23 +0000 |
---|---|---|
committer | tedu <> | 2015-01-07 15:46:23 +0000 |
commit | 5c9b3b611b1c619f5126563f11242854906c7a01 (patch) | |
tree | a8d9116352c580e672f335db5105948cd1131e79 /src/lib/libc/stdlib/jrand48.c | |
parent | ff0c9188b62e1decc7b1dffce46d25332dbf8b26 (diff) | |
download | openbsd-5c9b3b611b1c619f5126563f11242854906c7a01.tar.gz openbsd-5c9b3b611b1c619f5126563f11242854906c7a01.tar.bz2 openbsd-5c9b3b611b1c619f5126563f11242854906c7a01.zip |
set errno = EINVAL for invalid salts and hashes in most functions.
remember to set EACCES in bcrypt_checkpass for hash differences.
the higher level crypt_checkpass function will reset errno to EACCES in
all cases, which is probably the right behavior, but this change gives code
working with the lower level functions the correct errno if they care.
Diffstat (limited to 'src/lib/libc/stdlib/jrand48.c')
0 files changed, 0 insertions, 0 deletions