Add deleters for some more X.509 things.
Change-Id: I49cab08b085dde187e9b1aaaee0e5aa44595f8b7 Reviewed-on: https://boringssl-review.googlesource.com/11280 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
f9f312af61
commit
7358fab645
@ -1234,6 +1234,7 @@ BORINGSSL_MAKE_STACK_DELETER(X509_CRL, X509_CRL_free)
|
|||||||
BORINGSSL_MAKE_STACK_DELETER(X509_EXTENSION, X509_EXTENSION_free)
|
BORINGSSL_MAKE_STACK_DELETER(X509_EXTENSION, X509_EXTENSION_free)
|
||||||
BORINGSSL_MAKE_STACK_DELETER(X509_NAME, X509_NAME_free)
|
BORINGSSL_MAKE_STACK_DELETER(X509_NAME, X509_NAME_free)
|
||||||
|
|
||||||
|
BORINGSSL_MAKE_DELETER(NETSCAPE_SPKI, NETSCAPE_SPKI_free)
|
||||||
BORINGSSL_MAKE_DELETER(X509, X509_free)
|
BORINGSSL_MAKE_DELETER(X509, X509_free)
|
||||||
BORINGSSL_MAKE_DELETER(X509_ALGOR, X509_ALGOR_free)
|
BORINGSSL_MAKE_DELETER(X509_ALGOR, X509_ALGOR_free)
|
||||||
BORINGSSL_MAKE_DELETER(X509_CRL, X509_CRL_free)
|
BORINGSSL_MAKE_DELETER(X509_CRL, X509_CRL_free)
|
||||||
|
@ -737,8 +737,14 @@ extern "C++" {
|
|||||||
|
|
||||||
namespace bssl {
|
namespace bssl {
|
||||||
|
|
||||||
|
BORINGSSL_MAKE_STACK_DELETER(DIST_POINT, DIST_POINT_free)
|
||||||
BORINGSSL_MAKE_STACK_DELETER(GENERAL_NAME, GENERAL_NAME_free)
|
BORINGSSL_MAKE_STACK_DELETER(GENERAL_NAME, GENERAL_NAME_free)
|
||||||
|
// A STACK_OF(POLICYINFO) is also known as a CERTIFICATEPOLICIES.
|
||||||
|
BORINGSSL_MAKE_STACK_DELETER(POLICYINFO, POLICYINFO_free)
|
||||||
|
|
||||||
|
BORINGSSL_MAKE_DELETER(AUTHORITY_KEYID, AUTHORITY_KEYID_free)
|
||||||
|
BORINGSSL_MAKE_DELETER(BASIC_CONSTRAINTS, BASIC_CONSTRAINTS_free)
|
||||||
|
BORINGSSL_MAKE_DELETER(DIST_POINT, DIST_POINT_free)
|
||||||
BORINGSSL_MAKE_DELETER(GENERAL_NAME, GENERAL_NAME_free)
|
BORINGSSL_MAKE_DELETER(GENERAL_NAME, GENERAL_NAME_free)
|
||||||
|
|
||||||
} // namespace bssl
|
} // namespace bssl
|
||||||
|
Loading…
Reference in New Issue
Block a user