#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/x509.h>
+#include "asn1_locl.h"
#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
#endif
if ((pk=X509_PUBKEY_new()) == NULL) goto error;
- meth = EVP_PKEY_ASN1_find(pkey->type);
+ meth = EVP_PKEY_asn1_find(pkey->type);
if (meth)
{
goto error;
}
- meth = EVP_PKEY_ASN1_find(OBJ_obj2nid(key->algor->algorithm));
+ meth = EVP_PKEY_asn1_find(OBJ_obj2nid(key->algor->algorithm));
if (meth)
{