diff options
author | Matt Caswell <matt@openssl.org> | 2022-08-09 11:59:22 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-08-17 12:57:48 +0200 |
commit | f868454257560c78570549f6a34d5918f03898a0 (patch) | |
tree | 8763e1e49c597c6e9c4b2b6404bf82ee2d360e2c /engines | |
parent | 2c35d61790603530d11f52eda9132ff8640f9852 (diff) |
CRYPTO_mem_debug_push() and CRYPTO_mem_debug_pop() should return 0
Those 2 functions historically only ever returned 0 or 1. In OpenSSL 3.0
they were made no-ops and the documentation says they always return 0. In
fact they were returning -1. If any application was actually using these
functions then it may appear that they were actually successful (e.g. -1
could be interpreted as "true").
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18967)
Diffstat (limited to 'engines')
0 files changed, 0 insertions, 0 deletions