Add new -notext option to 'ca', -pubkey option to spkac.
[openssl.git] / apps / rsa.c
index 7d58b1715b3cde84d3e14afb37653dd51e9bec37..2df3fe374c8211368b9064b8df254b3b3d9e72f3 100644 (file)
@@ -271,7 +271,7 @@ bad:
                                }
                        }
                p=(unsigned char *)buf->data;
-               rsa=(RSA *)d2i_Netscape_RSA(NULL,&p,(long)size,NULL);
+               rsa=d2i_Netscape_RSA(NULL,&p,(long)size,NULL);
                BUF_MEM_free(buf);
                }
 #endif
@@ -395,4 +395,10 @@ end:
        if (rsa != NULL) RSA_free(rsa);
        EXIT(ret);
        }
+#else /* !NO_RSA */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
 #endif