summaryrefslogtreecommitdiffstats
path: root/crypto/pem
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-23 17:16:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-23 17:16:40 +0000
commit7134507de0cc51f08b482987d87b87830816f2a6 (patch)
tree83326e3e8f886da2d3479f0f49101949ec35af53 /crypto/pem
parentfe41d9853c38b578d601e27a7508e69f70b91005 (diff)
Make no-rsa, no-dsa and no-dh compile again.
Diffstat (limited to 'crypto/pem')
-rw-r--r--crypto/pem/pvkfmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/pem/pvkfmt.c b/crypto/pem/pvkfmt.c
index 5d391cfd8e..11e1f10f57 100644
--- a/crypto/pem/pvkfmt.c
+++ b/crypto/pem/pvkfmt.c
@@ -63,6 +63,7 @@
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/bn.h>
+#if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DSA)
#include <openssl/dsa.h>
#include <openssl/rsa.h>
@@ -933,3 +934,4 @@ int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel,
}
return -1;
}
+#endif