diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-16 11:07:48 -0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-05-26 08:36:42 +0200 |
commit | bbbf752a3c8b5a966bcb48fc71a3dc03832e7b27 (patch) | |
tree | c843bb59a3daa861762a4ed3228d0ef169b11448 /test | |
parent | 1bb829300a9a941b75e8d5ae6ea8f53b3845ac4c (diff) |
Update documentation for PEM callback: error is now -1.
In previous versions of OpenSSL, the documentation for PEM_read_*
said:
The callback B<must> return the number of characters in the
passphrase or 0 if an error occurred.
But since c82c3462267afdbbaa5, 0 is now treated as a non-error
return value. Applications that want to indicate an error need to
return -1 instead.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6271)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions