diff options
author | Bodo Möller <bodo@openssl.org> | 2002-03-14 10:52:03 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-03-14 10:52:03 +0100 |
commit | 690ecff7953193cc8e66b588216805f3014df778 (patch) | |
tree | c21fb14c3d0b01ae50dd4c9d8a485b8824d78e35 /crypto/asn1/x_pubkey.c | |
parent | use BIO_nwrite() more properly to demonstrate the general idea of (diff) | |
download | openssl-690ecff7953193cc8e66b588216805f3014df778.tar.xz openssl-690ecff7953193cc8e66b588216805f3014df778.zip |
Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.
Fix dsaparam usage output.
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/asn1/x_pubkey.c')
-rw-r--r-- | crypto/asn1/x_pubkey.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/asn1/x_pubkey.c b/crypto/asn1/x_pubkey.c index 227b0ce046..f6f2a0daca 100644 --- a/crypto/asn1/x_pubkey.c +++ b/crypto/asn1/x_pubkey.c @@ -212,7 +212,7 @@ EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key) long j; int type; unsigned char *p; -#ifndef OPENSSL_NO_DSA +#if !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_ECDSA) const unsigned char *cp; X509_ALGOR *a; #endif @@ -237,7 +237,9 @@ EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key) /* the parameters must be extracted before the public key (ECDSA!) */ +#if !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_ECDSA) a=key->algor; +#endif if (0) ; |