Don't fail when tracing is disabled
authorRichard Levitte <levitte@openssl.org>
Wed, 13 Mar 2019 23:39:28 +0000 (00:39 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 14 Mar 2019 07:12:51 +0000 (08:12 +0100)
commitd33d76168fb7642916cdcb7ccb0513abdb6f5f05
tree04549d101abb300807e4437449e11bb60ca5d6c2
parent81d61a62faa809e6c51f5fc2b86fb0d31146fd5e
Don't fail when tracing is disabled

When tracing is disabled, don't generate errors, especially during
init.  Instead, just pretend the everything is fine.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8475)
crypto/trace.c