From 43eb3b0130539b6ebce32e683b56c531f19adb1e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 8 Apr 2003 06:00:05 +0000 Subject: [PATCH] We seem to carry some rests of the 0.9.6 [engine] ENGINE framework in form of unneeded includes of openssl/engine.h. --- crypto/dh/dh_key.c | 3 --- crypto/dsa/dsa_ossl.c | 3 --- crypto/dsa/dsa_sign.c | 3 --- crypto/dsa/dsa_vrf.c | 3 --- crypto/dsa/dsatest.c | 4 ---- crypto/evp/evp_acnf.c | 3 --- crypto/rsa/rsa_eay.c | 3 --- crypto/rsa/rsa_test.c | 3 --- 8 files changed, 25 deletions(-) diff --git a/crypto/dh/dh_key.c b/crypto/dh/dh_key.c index 28c20750bd..48e7be45c5 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 b6e08584a6..c3ad7a14ab 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 53c73c5cc2..49c630b106 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -74,10 +74,6 @@ #include #include #include -#ifndef OPENSSL_NO_ENGINE -#include -#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 ad6ccf634d..aff86343cc 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); \ -- 2.25.1