diff options
author | Richard Levitte <levitte@openssl.org> | 2002-01-02 12:45:51 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-01-02 12:45:51 +0000 |
commit | 40928698bb644180b413b0925425a13fbc92bd2a (patch) | |
tree | f7db713a76ae43be9575386512ad9e330cf5781c /crypto/evp/evp_pkey.c | |
parent | 138d8ab0c79b93a7010fd5d984c7a47d66602783 (diff) | |
download | openssl-new-40928698bb644180b413b0925425a13fbc92bd2a.tar.gz |
When RSA or DSA are disabled, do not include the stuff that's specific
to them.
Diffstat (limited to 'crypto/evp/evp_pkey.c')
-rw-r--r-- | crypto/evp/evp_pkey.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/evp_pkey.c b/crypto/evp/evp_pkey.c index 05fcb2a8f2..a7c4e9fa7a 100644 --- a/crypto/evp/evp_pkey.c +++ b/crypto/evp/evp_pkey.c @@ -62,7 +62,9 @@ #include <openssl/x509.h> #include <openssl/rand.h> +#ifndef OPENSSL_NO_DSA static int dsa_pkey2pkcs8(PKCS8_PRIV_KEY_INFO *p8inf, EVP_PKEY *pkey); +#endif /* Extract a private key from a PKCS8 structure */ @@ -82,7 +84,9 @@ EVP_PKEY *EVP_PKCS82PKEY (PKCS8_PRIV_KEY_INFO *p8) #endif X509_ALGOR *a; unsigned char *p; +#ifndef OPENSSL_NO_RSA const unsigned char *cp; +#endif int pkeylen; char obj_tmp[80]; |