summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-01-30 18:52:46 +0000
committerRichard Levitte <levitte@openssl.org>2003-01-30 18:52:46 +0000
commit5fe11c7533f43fd49bcf20992c8eb7c6f773770d (patch)
treef7e6d3a7b5ae4d88990045071c5d039c720f25e8 /crypto/dh
parenta1d57849b3b0248d7b159849675e3a695ee1765c (diff)
The OPENSSL_NO_ENGINE has small problem: it changes certain structures. That's
bad, so let's not check OPENSSL_NO_ENGINE in those places. Fortunately, all the header files where the problem existed include ossl_typ.h, which makes a 'forward declaration' of the ENGINE type.
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h
index 38214082f7..62dba4055c 100644
--- a/crypto/dh/dh.h
+++ b/crypto/dh/dh.h
@@ -119,9 +119,7 @@ struct dh_st
int references;
CRYPTO_EX_DATA ex_data;
const DH_METHOD *meth;
-#ifndef OPENSSL_NO_ENGINE
ENGINE *engine;
-#endif
};
#define DH_GENERATOR_2 2