diff options
author | Pauli <paul.dale@oracle.com> | 2020-06-18 11:01:08 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-06-21 16:49:51 +1000 |
commit | c720fc35f4aa90cdc7cdc424b976c5322fb0098e (patch) | |
tree | 9f07933602da736bf81631410a40ead69c979592 /crypto/ess/build.info | |
parent | 7cc5e0d283800c757e46d1476273d271120aa38d (diff) |
namemap: change ossl_namemap_empty() to do what the documentation says.
The function is documented as returning 1 when passed a NULL argument.
Instead it core dumps. Added a unit test for this.
Additionally, a performance improvement is incorporated. The namemap
max_number field is only ever compared against zero and incremented.
The zero comparison grabs a lock specifically for this check. This change
uses TSAN operations instead if they are available.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12181)
Diffstat (limited to 'crypto/ess/build.info')
0 files changed, 0 insertions, 0 deletions