Fixes to make OpenSSL compile with no-rc4
This commit is contained in:
Dr. Stephen Henson
2010-04-06 11:18:32 +00:00
parent 6747de655e
commit 5b0a79a27a
6 changed files with 12 additions and 6 deletions

View File

@@ -409,7 +409,7 @@ bad:
}
else i=PEM_write_bio_RSAPrivateKey(out,rsa,
enc,NULL,0,NULL,passout);
#ifndef OPENSSL_NO_DSA
#if !defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_RC4)
} else if (outformat == FORMAT_MSBLOB || outformat == FORMAT_PVK) {
EVP_PKEY *pk;
pk = EVP_PKEY_new();