#include <openssl/asn1.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>
+#include <openssl/bn.h>
/* Print out an SPKI */
if (pkey->type == EVP_PKEY_EC)
{
BIO_printf(out, " EC Public Key:\n");
- EC_KEY_print(out, pkey->pkey.eckey,2);
+ EC_KEY_print(out, pkey->pkey.ec,2);
}
else
#endif