Question about migrating from d2i_ECPrivateKey() to d2i_PrivateKey(EVP_PKEY_EC, ...)

Nico Williams nico at cryptonector.com
Tue Nov 22 18:25:27 UTC 2022


On Tue, Nov 22, 2022 at 12:02:44PM -0600, Nico Williams wrote:
> On Tue, Nov 22, 2022 at 11:09:07AM -0600, Nico Williams wrote:
> > Also, the prototype for i2d_PUBKEY() does not appear in any header,
> > public or private, but i2d_PUBKEY() _is_ documented -- is this a bug?
> 
> But i2d_PUBKEY_fp() and i2d_PUBKEY_bio() do have prototypes in
> <openssl/x509.h>.
> 
> I opened issue https://github.com/openssl/openssl/issues/19733 for this.

And I closed it.  I wasn't including the correct header, but the man
page didn't say which header to include.


More information about the openssl-users mailing list