For self signed root only indicate one error.
[openssl.git] / crypto / pem / pem_info.c
index 1b2be527edde007bf86c894d1f3b70f75bc6117e..cc7f24a9c1cf491ae3092b9dc4aa8fe05e927ef0 100644 (file)
@@ -167,6 +167,7 @@ start:
 #ifndef OPENSSL_NO_RSA
                        if (strcmp(name,PEM_STRING_RSA) == 0)
                        {
+                       d2i=(D2I_OF(void))d2i_RSAPrivateKey;
                        if (xi->x_pkey != NULL) 
                                {
                                if (!sk_X509_INFO_push(ret,xi)) goto err;