When RSA or DSA are disabled, do not include the stuff that's specific
to them.
This commit is contained in:
parent
138d8ab0c7
commit
40928698bb
@ -62,7 +62,9 @@
|
|||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
|
#ifndef OPENSSL_NO_DSA
|
||||||
static int dsa_pkey2pkcs8(PKCS8_PRIV_KEY_INFO *p8inf, EVP_PKEY *pkey);
|
static int dsa_pkey2pkcs8(PKCS8_PRIV_KEY_INFO *p8inf, EVP_PKEY *pkey);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Extract a private key from a PKCS8 structure */
|
/* Extract a private key from a PKCS8 structure */
|
||||||
|
|
||||||
@ -82,7 +84,9 @@ EVP_PKEY *EVP_PKCS82PKEY (PKCS8_PRIV_KEY_INFO *p8)
|
|||||||
#endif
|
#endif
|
||||||
X509_ALGOR *a;
|
X509_ALGOR *a;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
|
#ifndef OPENSSL_NO_RSA
|
||||||
const unsigned char *cp;
|
const unsigned char *cp;
|
||||||
|
#endif
|
||||||
int pkeylen;
|
int pkeylen;
|
||||||
char obj_tmp[80];
|
char obj_tmp[80];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user