From 039ab409f8ad22e893aa696da4d70057041dc808 Mon Sep 17 00:00:00 2001 From: markus <> Date: Tue, 10 Sep 2002 20:14:31 +0000 Subject: evp.h should not pull in all other header files, especially since it's supposed to hid the specific ciphers. this change also avoids problems when evp is used together with kerberos (and ). ok deraadt@ --- src/lib/libcrypto/evp/evp.h | 57 ------------------------------------- src/lib/libssl/src/crypto/evp/evp.h | 57 ------------------------------------- 2 files changed, 114 deletions(-) diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 7051fe2816..7b234d0ad6 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h @@ -74,51 +74,6 @@ #ifndef OPENSSL_NO_BIO #include #endif -#ifndef OPENSSL_NO_MD2 -#include -#endif -#ifndef OPENSSL_NO_MD4 -#include -#endif -#ifndef OPENSSL_NO_MD5 -#include -#endif -#ifndef OPENSSL_NO_SHA -#include -#endif -#ifndef OPENSSL_NO_RIPEMD -#include -#endif -#ifndef OPENSSL_NO_DES -#include -#endif -#ifndef OPENSSL_NO_RC4 -#include -#endif -#ifndef OPENSSL_NO_RC2 -#include -#endif -#ifndef OPENSSL_NO_RC5 -#include -#endif -#ifndef OPENSSL_NO_BF -#include -#endif -#ifndef OPENSSL_NO_CAST -#include -#endif -#ifndef OPENSSL_NO_IDEA -#include -#endif -#if 0 -/* mdc2 uses the new DES_ API, but DES_ is not defined if kerberos is used, too */ -#ifndef OPENSSL_NO_MDC2 -#include -#endif -#endif -#ifndef OPENSSL_NO_AES -#include -#endif /* #define EVP_RC2_KEY_SIZE 16 @@ -136,18 +91,6 @@ /* Default PKCS#5 iteration count */ #define PKCS5_DEFAULT_ITER 2048 -#ifndef OPENSSL_NO_RSA -#include -#endif - -#ifndef OPENSSL_NO_DSA -#include -#endif - -#ifndef OPENSSL_NO_DH -#include -#endif - #include #define EVP_PK_RSA 0x0001 diff --git a/src/lib/libssl/src/crypto/evp/evp.h b/src/lib/libssl/src/crypto/evp/evp.h index 7051fe2816..7b234d0ad6 100644 --- a/src/lib/libssl/src/crypto/evp/evp.h +++ b/src/lib/libssl/src/crypto/evp/evp.h @@ -74,51 +74,6 @@ #ifndef OPENSSL_NO_BIO #include #endif -#ifndef OPENSSL_NO_MD2 -#include -#endif -#ifndef OPENSSL_NO_MD4 -#include -#endif -#ifndef OPENSSL_NO_MD5 -#include -#endif -#ifndef OPENSSL_NO_SHA -#include -#endif -#ifndef OPENSSL_NO_RIPEMD -#include -#endif -#ifndef OPENSSL_NO_DES -#include -#endif -#ifndef OPENSSL_NO_RC4 -#include -#endif -#ifndef OPENSSL_NO_RC2 -#include -#endif -#ifndef OPENSSL_NO_RC5 -#include -#endif -#ifndef OPENSSL_NO_BF -#include -#endif -#ifndef OPENSSL_NO_CAST -#include -#endif -#ifndef OPENSSL_NO_IDEA -#include -#endif -#if 0 -/* mdc2 uses the new DES_ API, but DES_ is not defined if kerberos is used, too */ -#ifndef OPENSSL_NO_MDC2 -#include -#endif -#endif -#ifndef OPENSSL_NO_AES -#include -#endif /* #define EVP_RC2_KEY_SIZE 16 @@ -136,18 +91,6 @@ /* Default PKCS#5 iteration count */ #define PKCS5_DEFAULT_ITER 2048 -#ifndef OPENSSL_NO_RSA -#include -#endif - -#ifndef OPENSSL_NO_DSA -#include -#endif - -#ifndef OPENSSL_NO_DH -#include -#endif - #include #define EVP_PK_RSA 0x0001 -- cgit v1.2.3-55-g6feb