Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After https://boringssl-review.googlesource.com/c/boringssl/+/45965, X509_VAL became largely unusable. While it did still exist as an ASN1_ITEM and we emitted d2i/i2d/new/free functions, there is no way to access its contents. Thus, hide it entirely. Interestingly, although we got that to stick a while ago, I missed that OpenSSL actually keeps X509_VAL exported, so it's possible we'll find 3p code that uses this later. Since a standalone X509_VAL isn't especially useful to construct or encode, this is most likely to come up in code defining new types with <openssl/asn1t.h>. Still, if we need to rexport this later (revert this *and* bring back the struct), it won't be a big deal. Nothing in the public API even constrains X509 to use X509_VAL. Update-Note: The last remnants of the now (barely usable) X509_VAL are no longer exported. It is unlikely anyone was relying on this. Bug: 425 Change-Id: I90975f2f7ec27753675d2b5fa18b5cc4716319f4 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/50085 Reviewed-by: Adam Langley <[email protected]>
- Loading branch information