summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-01-30 18:52:52 +0000
committerRichard Levitte <levitte@openssl.org>2003-01-30 18:52:52 +0000
commitbd573ee31a61dd3d39a8141d314e5c824d20dbab (patch)
tree86bb25f6742031bc93e361b6a74430646afe3966 /crypto/dh
parent20dc82109229e829155b5266f6bd6736c9133298 (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 ba5d013b88..05851f8429 100644
--- a/crypto/dh/dh.h
+++ b/crypto/dh/dh.h
@@ -117,9 +117,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