From 85c2cd8a458dc62fb7e9a540d94d21d1bb39c86a Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Mon, 2 Apr 2018 12:53:33 -0400 Subject: [PATCH] Fix up AUTHORITY_INFO_ACCESS/ACCESS_DESCRIPTION's deleter. AUTHORITY_INFO_ACCESS is a STACK_OF(ACCESS_DESCRIPTION), so we want to add a deleter for ACCESS_DESCRIPTION, at which point AUTHORITY_INFO_ACCESS's deleter will show up for free. Change-Id: Id9efb74093868c39a893de67dd26f1fc15379252 Reviewed-on: https://boringssl-review.googlesource.com/26973 Reviewed-by: Ryan Sleevi Reviewed-by: David Benjamin Commit-Queue: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- include/openssl/x509v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h index 4a1fe7bf..56cf59c0 100644 --- a/include/openssl/x509v3.h +++ b/include/openssl/x509v3.h @@ -748,7 +748,7 @@ extern "C++" { namespace bssl { -BORINGSSL_MAKE_DELETER(AUTHORITY_INFO_ACCESS, AUTHORITY_INFO_ACCESS_free) +BORINGSSL_MAKE_DELETER(ACCESS_DESCRIPTION, ACCESS_DESCRIPTION_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)