Changed paths:
M apps/pkcs12.c
M crypto/pkcs12/p12_attr.c
M crypto/pkcs12/p12_sbag.c
M crypto/x509/t_acert.c
M crypto/x509/t_req.c
M crypto/x509/v3_aaa.c
M crypto/x509/v3_sda.c
M crypto/x509/x509_att.c
M crypto/x509/x509_req.c
M demos/cms/cms_ver.c
M doc/man3/PKCS12_SAFEBAG_get0_attrs.pod
M doc/man3/X509_ATTRIBUTE.pod
M include/openssl/pkcs12.h.in M include/openssl/x509.h.in M test/helpers/pkcs12.c
Log Message:
-----------
Make X509_ATTRIBUTE accessor functions const-correct
The X509_ATTRIBUTE accessor functions were not const-correct, preventing
callers from usefully interacting with a const X509_ATTRIBUTE pointer.
Update the following functions to accept const X509_ATTRIBUTE * and
return const pointers where appropriate:
Changed paths:
M crypto/cms/cms_att.c
M crypto/cms/cms_ess.c
M crypto/cms/cms_local.h
M crypto/cms/cms_sd.c
M crypto/pkcs7/pk7_attr.c
M crypto/pkcs7/pk7_doit.c
M crypto/pkcs7/pk7_smime.c
M crypto/ts/ts_rsp_verify.c
M crypto/x509/x509_att.c
M include/openssl/cms.h.in M include/openssl/pkcs7.h.in M include/openssl/x509.h.in
Log Message:
-----------
Propagate const-correctness to PKCS7, CMS, and X509 attribute functions
Following the const-correctness changes to X509_ATTRIBUTE accessor
functions, update all dependent functions to also return const pointers: