Skip to content

Commit

Permalink
When RSA or DSA are disabled, do not include the stuff that's specific
Browse files Browse the repository at this point in the history
to them.
  • Loading branch information
levitte committed Jan 2, 2002
1 parent 138d8ab commit 4092869
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crypto/evp/evp_pkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand All @@ -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];

Expand Down

0 comments on commit 4092869

Please sign in to comment.