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.