summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine
diff options
context:
space:
mode:
authortb <>2026-08-23 05:10:18 +0000
committertb <>2026-08-23 05:10:18 +0000
commit14389d69d556ad01385b487c8d920b5d6608e4b5 (patch)
tree1bfbe36c6f1d7a795907dba83baf05cb05b829d0 /src/lib/libcrypto/engine
parent64afffacaee270dc57d21788b3d20128661cfc5d (diff)
downloadopenbsd-14389d69d556ad01385b487c8d920b5d6608e4b5.tar.gz
openbsd-14389d69d556ad01385b487c8d920b5d6608e4b5.tar.bz2
openbsd-14389d69d556ad01385b487c8d920b5d6608e4b5.zip
Make deprecation of ASN1_STRING_data(3) more prominent
The function has been deprecated for a long time: OpenSSL did so when adding ASN1_STRING_get0_data in 1.1.0. beck removed it from OpenSSL 4. The reason is that it returns a modifiable "string" and you should not be modifying an ASN1_STRING this way. You should be using one of the clumsy, inconvenient accessors. schwarze merged the deprecation when adding documentation for ASN1_STRING_get0_data() in 2018. Make this a bit more obvious: move function to the end of the documented functions in this page, and mark it deprecated in the SYNOPSIS, too. I'm aware that deprecation does not work. I was hopeful to be able to remove the function in the last cycle, but that did not happen and it might not happen in this cycle either. It will happen at some point, though. Prompted by a question by brad
Diffstat (limited to 'src/lib/libcrypto/engine')
0 files changed, 0 insertions, 0 deletions