diff options
author | guenther <> | 2014-08-06 04:28:21 +0000 |
---|---|---|
committer | guenther <> | 2014-08-06 04:28:21 +0000 |
commit | bb79bde60b45a6e7fc5c4c7a90472d95b589df85 (patch) | |
tree | e24b3ccfcb353214ef74bbf7371c238ad5ba7eda /src/lib/libcrypto/evp/encode.c | |
parent | dc860cce8cac979d32044dea2c9f226c37c3e931 (diff) | |
download | openbsd-bb79bde60b45a6e7fc5c4c7a90472d95b589df85.tar.gz openbsd-bb79bde60b45a6e7fc5c4c7a90472d95b589df85.tar.bz2 openbsd-bb79bde60b45a6e7fc5c4c7a90472d95b589df85.zip |
Correct error checks in EVP_read_pw_string_min(): UI_add_input_string()
and UI_add_verify_string() return -1 (and maybe -2?) on failure and
>=0 on success, instead of always zero on success
problem reported by Mark Patruck (mark (at) wrapped.cx)
ok miod@
Diffstat (limited to 'src/lib/libcrypto/evp/encode.c')
0 files changed, 0 insertions, 0 deletions