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:
@@ -128,10 +128,8 @@ struct rsa_st
|
||||
int pad;
|
||||
long version;
|
||||
const RSA_METHOD *meth;
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
/* functional reference if 'meth' is ENGINE-provided */
|
||||
ENGINE *engine;
|
||||
#endif
|
||||
BIGNUM *n;
|
||||
BIGNUM *e;
|
||||
BIGNUM *d;
|
||||
|
||||
Reference in New Issue
Block a user