Fix d2i_ECPKParameters_fp and i2d_ECPKParameters_fp macros
authorNicola Tuveri <nic.tuv@gmail.com>
Wed, 15 Jul 2020 23:02:16 +0000 (02:02 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Mon, 30 Aug 2021 12:18:14 +0000 (15:18 +0300)
commitcca8a4cedaafe63b0b5729b72133661ece24ff08
treefdfffddd44f1cd137ae9c04a4dc076e1886b4b8a
parentea1128e94e36fa9fa25278dc6b3f5b42d8735782
Fix d2i_ECPKParameters_fp and i2d_ECPKParameters_fp macros

These functions are part of the public API but we don't have tests
covering their usage.
They are actually implemented as macros and the absence of tests has
caused them to fall out-of-sync with the latest changes to ASN1 related
functions and cause compilation warnings.

This commit fixes the public headers to reflect these changes.

Fixes #12443

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16355)
include/openssl/ec.h