From: Ulf Möller Date: Mon, 22 Jan 2001 18:46:32 +0000 (+0000) Subject: Definition of NO_KRB5 in ssl.h for external applications. X-Git-Tag: OpenSSL_0_9_6a-beta1~81^2~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36f74d60b3ea0a2a173a82864cd041c7858321b9;p=oweals%2Fopenssl.git Definition of NO_KRB5 in ssl.h for external applications. --- diff --git a/Configure b/Configure index bd8f51e3ad..8a111cc22a 100755 --- a/Configure +++ b/Configure @@ -685,6 +685,7 @@ if ($no_krb5 { $cflags="-DNO_KRB5 $cflags"; $options.=" no-krb5" unless $no_krb5; + $openssl_algorithm_defines .= "#define NO_KRB5\n"; } else { diff --git a/ssl/ssl.h b/ssl/ssl.h index b07c5ef727..55f32724ff 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -59,6 +59,14 @@ #ifndef HEADER_SSL_H #define HEADER_SSL_H +#ifdef OPENSSL_ALGORITHM_DEFINES +# include +#else +# define OPENSSL_ALGORITHM_DEFINES +# include +# undef OPENSSL_ALGORITHM_DEFINES +#endif + #ifndef NO_COMP #include #endif