Remove some unnecessary recursive includes from the internal apps.h header,

and include bn.h in those C files that need bignum functionality.
This commit is contained in:
Geoff Thorpe 2004-05-17 19:05:32 +00:00
parent 298a2f9e58
commit f0eae953e2
7 changed files with 6 additions and 2 deletions

View File

@ -126,6 +126,7 @@
#include <openssl/engine.h>
#endif
#include <openssl/rsa.h>
#include <openssl/bn.h>
#define NON_MAIN
#include "apps.h"

View File

@ -114,9 +114,7 @@
#include "e_os.h"
#include <openssl/buffer.h>
#include <openssl/bio.h>
#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/lhash.h>
#include <openssl/conf.h>

View File

@ -68,6 +68,7 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/bn.h>
#undef PROG
#define PROG dsa_main

View File

@ -64,6 +64,7 @@
#include <openssl/ocsp.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/bn.h>
/* Maximum leeway in validity period: default 5 minutes */
#define MAX_VALIDITY_PERIOD (5 * 60)

View File

@ -68,6 +68,7 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/bn.h>
#undef PROG
#define PROG rsa_main

View File

@ -157,6 +157,7 @@
#include <sys/param.h>
#endif
#include <openssl/bn.h>
#ifndef OPENSSL_NO_DES
#include <openssl/des.h>
#endif

View File

@ -115,6 +115,7 @@
#include "apps.h"
#include <openssl/evp.h>
#include <openssl/crypto.h>
#include <openssl/bn.h>
#ifndef OPENSSL_NO_MD2
# include <openssl/md2.h>
#endif