Update from 1.0.0-stable
[openssl.git] / apps / rsa.c
index c316da710900f1a24fee7e1ae93c5095288c0ee5..4a6206bb6663d23ebdb89932574e02e9d2c72671 100644 (file)
@@ -409,6 +409,7 @@ bad:
                        }
                else i=PEM_write_bio_RSAPrivateKey(out,rsa,
                                                enc,NULL,0,NULL,passout);
+#ifndef OPENSSL_NO_DSA
        } else if (outformat == FORMAT_MSBLOB || outformat == FORMAT_PVK) {
                EVP_PKEY *pk;
                pk = EVP_PKEY_new();
@@ -420,6 +421,7 @@ bad:
                else
                        i = i2b_PrivateKey_bio(out, pk);
                EVP_PKEY_free(pk);
+#endif
        } else  {
                BIO_printf(bio_err,"bad output format specified for outfile\n");
                goto end;