64 #ifndef OPENSSL_NO_ENGINE
76 if ((a == NULL) || (*a == NULL))
87 #ifndef OPENSSL_NO_ENGINE
108 p8=d2i_PKCS8_PRIV_KEY_INFO(NULL,pp,length);
112 PKCS8_PRIV_KEY_INFO_free(p8);
121 if (a != NULL) (*a)=ret;
124 if ((ret != NULL) && ((a == NULL) || (*a != ret)))
EVP_PKEY_free(ret);
134 const unsigned char *
p;
141 inkey = d2i_ASN1_SEQUENCE_ANY(NULL, &p, length);
161 PKCS8_PRIV_KEY_INFO_free(p8);