/* The following are equivalents but which return RSA and DSA
* keys
*/
-
+#ifndef NO_RSA
RSA *d2i_RSA_PUBKEY(RSA **a, unsigned char **pp,
long length)
{
EVP_PKEY_free(pktmp);
return ret;
}
+#endif
+#ifndef NO_DSA
DSA *d2i_DSA_PUBKEY(DSA **a, unsigned char **pp,
long length)
{
EVP_PKEY_free(pktmp);
return ret;
}
+#endif