From: Richard Levitte Date: Tue, 8 Apr 2003 06:00:17 +0000 (+0000) Subject: We seem to carry some rests of the 0.9.6 [engine] ENGINE framework in form X-Git-Tag: OpenSSL_0_9_7b~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=27310553b1ec7828f5dc027de73719de8092b64b;p=oweals%2Fopenssl.git We seem to carry some rests of the 0.9.6 [engine] ENGINE framework in form of unneeded includes of openssl/engine.h. --- diff --git a/crypto/dh/dh_key.c b/crypto/dh/dh_key.c index 6ce65ed5f3..77f2f50b51 100644 --- a/crypto/dh/dh_key.c +++ b/crypto/dh/dh_key.c @@ -61,9 +61,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif static int generate_key(DH *dh); static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c index 68d91dbe23..b9e7f3ea5c 100644 --- a/crypto/dsa/dsa_ossl.c +++ b/crypto/dsa/dsa_ossl.c @@ -64,9 +64,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp); diff --git a/crypto/dsa/dsa_sign.c b/crypto/dsa/dsa_sign.c index 5cdc8ed851..89205026f0 100644 --- a/crypto/dsa/dsa_sign.c +++ b/crypto/dsa/dsa_sign.c @@ -64,9 +64,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) { diff --git a/crypto/dsa/dsa_vrf.c b/crypto/dsa/dsa_vrf.c index fffb129f8f..c4aeddd056 100644 --- a/crypto/dsa/dsa_vrf.c +++ b/crypto/dsa/dsa_vrf.c @@ -65,9 +65,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index f9cdc03377..4734ce4af8 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -68,9 +68,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif #ifdef OPENSSL_NO_DSA int main(int argc, char *argv[]) diff --git a/crypto/evp/evp_acnf.c b/crypto/evp/evp_acnf.c index 54c073ca44..ff3e311cc5 100644 --- a/crypto/evp/evp_acnf.c +++ b/crypto/evp/evp_acnf.c @@ -59,9 +59,6 @@ #include "cryptlib.h" #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif /* Load all algorithms and configure OpenSSL. diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index be839ad07c..027b4dc754 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -61,9 +61,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif #ifndef RSA_NULL diff --git a/crypto/rsa/rsa_test.c b/crypto/rsa/rsa_test.c index 99abb1fde7..924e9ad1f6 100644 --- a/crypto/rsa/rsa_test.c +++ b/crypto/rsa/rsa_test.c @@ -16,9 +16,6 @@ int main(int argc, char *argv[]) } #else #include -#ifndef OPENSSL_NO_ENGINE -#include -#endif #define SetKey \ key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \