From: William A. Rowe Jr Date: Tue, 24 Jun 2003 23:09:59 +0000 (+0000) Subject: Absorb our ssl library-foo from the mod_ssl build changes to automatically X-Git-Tag: pre_ajp_proxy~1512 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dadb2bfe0f2a990bdfdd11a12a43b34e52f2e09;p=apache Absorb our ssl library-foo from the mod_ssl build changes to automatically generate an SSL/https: enabled ab binary. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100351 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 00ce63e70e..670ca7ad4a 100644 --- a/support/ab.c +++ b/support/ab.c @@ -185,9 +185,27 @@ #endif #if APR_HAVE_STDLIB_H #include +#endif + +#if !defined(WIN32) && !defined(NETWARE) +#include "ap_config_auto.h" +#endif + +#if defined(HAVE_SSLC) + +/* Libraries for RSA SSL-C */ +#include +#include +#include +#include +#include +#include +#include +#define USE_SSL +#define RSAREF + +#elif defined(HAVE_OPENSSL) -#ifdef USE_SSL -#if ((!(RSAREF)) && (!(SYSSSL))) /* Libraries on most systems.. */ #include #include @@ -196,20 +214,11 @@ #include #include #include -#else -/* Libraries for RSAref and SYSSSL */ -#include -#include -#include -#include -#include -#include -#include -#endif +#define USE_SSL + #endif #include -#endif #if APR_HAVE_CTYPE_H #include #endif @@ -1771,14 +1780,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.122 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.123 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n"); printf("\n"); } else { printf("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.122 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.123 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n");