Similar to x509/x509_purp.c rev. 1.5:
authorschwarze <schwarze@openbsd.org>
Fri, 23 Jul 2021 20:50:28 +0000 (20:50 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 23 Jul 2021 20:50:28 +0000 (20:50 +0000)
commitf4297f0e314e0a58b675cf7d9b747b2813f66aa1
tree8ad59cc79ddb989d7aa044f1d834013c1a6b2e67
parent8a514248f125a57b228caaa4da68b5703aee6c51
Similar to x509/x509_purp.c rev. 1.5:
Delete some code from X509_TRUST_cleanup(3) that had no effect:
it called a function on static objects that returns right away
unless the argument is dynamically allocated.
Pointed out by tb@.

This commit is identical to:

OpenSSL commit 5e6e650d62af09f47d63bfdd6c92e3b16e9da644
Author: Kurt Cancemi <kurt at x64architecture dot com>
Date:   Thu Jun 9 21:57:36 2016 -0400
lib/libcrypto/x509/x509_trs.c