X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=mt%2Fmttest.c;h=b2f332602dac1efd21c3340edacac457ee0e1cdb;hp=8651a1131a088532e83ee2be3af80f4507bc59ec;hb=5059658219465c2e3e15f45c5ca3a0d251cd5fba;hpb=7dfb0b774e6592dcbfe47015168a0ac8b44e2a17 diff --git a/mt/mttest.c b/mt/mttest.c index 8651a1131a..b2f332602d 100644 --- a/mt/mttest.c +++ b/mt/mttest.c @@ -74,13 +74,13 @@ #include #include #endif -#include "lhash.h" -#include "crypto.h" -#include "buffer.h" +#include +#include +#include #include "../e_os.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include #ifdef NO_FP_API #define APPS_WIN16 @@ -92,7 +92,6 @@ #define MAX_THREAD_NUMBER 100 -#ifndef NOPROTO int MS_CALLBACK verify_callback(int ok, X509 *xs, X509 *xi, int depth, int error,char *arg); void thread_setup(void); @@ -108,23 +107,6 @@ unsigned long irix_thread_id(void ); unsigned long solaris_thread_id(void ); unsigned long pthreads_thread_id(void ); -#else -int MS_CALLBACK verify_callback(); -void thread_setup(); -void thread_cleanup(); -void do_threads(); - -void irix_locking_callback(); -void solaris_locking_callback(); -void win32_locking_callback(); -void pthreads_locking_callback(); - -unsigned long irix_thread_id(); -unsigned long solaris_thread_id(); -unsigned long pthreads_thread_id(); - -#endif - BIO *bio_err=NULL; BIO *bio_stdout=NULL; @@ -139,12 +121,7 @@ int number_of_loops=10; int reconnect=0; int cache_stats=0; -#ifndef NOPROTO int doit(char *ctx[4]); -#else -int doit(); -#endif - static void print_stats(fp,ctx) FILE *fp; SSL_CTX *ctx;