Use X509_ALGOR_get0() in ecdh_cms_set_shared_info()
authortb <tb@openbsd.org>
Thu, 18 Apr 2024 11:53:40 +0000 (11:53 +0000)
committertb <tb@openbsd.org>
Thu, 18 Apr 2024 11:53:40 +0000 (11:53 +0000)
commit3d6ebde5a69873ac028816b5ed1f2c826b7cfc79
tree76eac38f3f6459312a8c374f0c2cf13b273cfec2
parentc03ec0d1734a49e44e41dbc2a7b522c1901cf400
Use X509_ALGOR_get0() in ecdh_cms_set_shared_info()

This makes things slightly less gross since it involves less reaching
into nested ASN.1 structures.  But don't get the idea that this means
the code is now clean.

ok jsing
lib/libcrypto/ec/ec_ameth.c