Improve order in ancient CMS helpers
authortb <tb@openbsd.org>
Wed, 3 Jan 2024 09:13:32 +0000 (09:13 +0000)
committertb <tb@openbsd.org>
Wed, 3 Jan 2024 09:13:32 +0000 (09:13 +0000)
commit0a1afe4ac5e459b8b31e2d67489edd4d96154e9c
treefb460d2e5564d805a8725fce52400a94f546289e
parentcd8603db2179ddaf0e3435f73d0712e5493a5bce
Improve order in ancient CMS helpers

First came EVP_CIPHER_param_to_asn1() which wraps EVP_CIPHER_set_asn1_iv()
which was implemented last. Then came EVP_CIPHER_asn1_to_param() wrapping
EVP_CIPHER_get_asn1_iv(). Move each param function below the iv function
it wraps.
lib/libcrypto/evp/evp_cipher.c