Prepare to provide DSA_meth_{get0,set1}_name()
authortb <tb@openbsd.org>
Mon, 4 Jul 2022 12:22:32 +0000 (12:22 +0000)
committertb <tb@openbsd.org>
Mon, 4 Jul 2022 12:22:32 +0000 (12:22 +0000)
commit8fc6b31117d7cfbbf06e7d98bf20cd69f2353360
tree36ff59cec9a44ebe71741fefdaef592f7c490d75
parent6f34a74075b653d56f70c881dbc7b45c6bbdfa13
Prepare to provide DSA_meth_{get0,set1}_name()

Also follow OpenSSL by making the name non-const to avoid ugly casting.
Used by OpenSC's pkcs11-helper, as reported by Fabrice Fontaine in
https://github.com/libressl-portable/openbsd/issues/130

ok jsing sthen
lib/libcrypto/dsa/dsa.h
lib/libcrypto/dsa/dsa_locl.h
lib/libcrypto/dsa/dsa_meth.c