Disable mem leak checking for the self test lock
authorMatt Caswell <matt@openssl.org>
Thu, 19 Sep 2019 10:52:45 +0000 (11:52 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 29 Nov 2019 16:14:44 +0000 (16:14 +0000)
commitcc38e643cbfb6da84fb2bb6a188698d0bc082a20
treed07a3fcee80701c7511f7c54a696224282a0fdef
parent14a684bfb091b12aa3094a6097932f76f799990a
Disable mem leak checking for the self test lock

The fips self test lock is deallocated in platform specific ways that may
occur after we do mem leak checking. If we don't know how to free it for
a particular platform then we just leak it deliberately. So we
temporarily disable the mem leak checking while we allocate the lock.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9939)
crypto/provider_core.c
doc/man7/provider-base.pod
include/openssl/core_numbers.h
providers/fips/fipsprov.c
providers/fips/selftest.c