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.
This commit is contained in:
Richard Levitte
2003-01-30 18:52:52 +00:00
parent 20dc821092
commit bd573ee31a
4 changed files with 0 additions and 10 deletions

View File

@@ -135,10 +135,8 @@ struct dsa_st
int references;
CRYPTO_EX_DATA ex_data;
const DSA_METHOD *meth;
#ifndef OPENSSL_NO_ENGINE
/* functional reference if 'meth' is ENGINE-provided */
ENGINE *engine;
#endif
};
#define DSAparams_dup(x) (DSA *)ASN1_dup((int (*)())i2d_DSAparams, \