const correct X509_PURPOSE_get0{,_{,s}name}()
authortb <tb@openbsd.org>
Sat, 2 Mar 2024 10:43:52 +0000 (10:43 +0000)
committertb <tb@openbsd.org>
Sat, 2 Mar 2024 10:43:52 +0000 (10:43 +0000)
commitb9dfbe762cd1956009f74f794c2a1f3f698e12ce
treee0d9f87ba25f1ddbb3b9eee49e0b658ad07abfb0
parent40ab66bcd37cc7bf4d13129c4726cffe0f5016de
const correct X509_PURPOSE_get0{,_{,s}name}()

Unfortunately, PHP and rust-openssl still need this API. At least we
can make the table read-only now since we disabled its extensibility.

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