Engage Applink for VC builds.
[oweals/openssl.git] / crypto / asn1 / t_spki.c
index 67b0cc9f00e56479a7605fbcaea4299d27deec0f..23ab3b94e0bb03e3d4ce1823444959e3d8fc2020 100644 (file)
@@ -62,6 +62,7 @@
 #include <openssl/asn1.h>
 #include <openssl/rsa.h>
 #include <openssl/dsa.h>
+#include <openssl/bn.h>
 
 /* Print out an SPKI */
 
@@ -99,7 +100,7 @@ int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *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