Make X509_PURPOSE opaque
authortb <tb@openbsd.org>
Sat, 2 Mar 2024 10:41:46 +0000 (10:41 +0000)
committertb <tb@openbsd.org>
Sat, 2 Mar 2024 10:41:46 +0000 (10:41 +0000)
commit40ab66bcd37cc7bf4d13129c4726cffe0f5016de
treebd8fd7f3714eec9a2e9aad8f2c10b4fc6dbcb265
parentcb0df0717cbdfcb0540758a641ae25d6fbd8422e
Make X509_PURPOSE opaque

Code using details of X509_PURPOSE does so by using API. So we can make
this struct opaque.

ok jsing
lib/libcrypto/x509/x509_purp.c
lib/libcrypto/x509/x509v3.h