Definition of NO_KRB5 in ssl.h for external applications.
authorUlf Möller <ulf@openssl.org>
Mon, 22 Jan 2001 18:46:32 +0000 (18:46 +0000)
committerUlf Möller <ulf@openssl.org>
Mon, 22 Jan 2001 18:46:32 +0000 (18:46 +0000)
Configure
ssl/ssl.h

index bd8f51e3ad7b3fbbbd3525815d36a759668575e5..8a111cc22a7a85540a606a9a36fbdd2ba4248e93 100755 (executable)
--- 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
        {
index b07c5ef72797d74e9960030e1ba07b5b54570308..55f32724ff258b0156bb04b0739f0e4dd1dc58fb 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
 #ifndef HEADER_SSL_H 
 #define HEADER_SSL_H 
 
+#ifdef OPENSSL_ALGORITHM_DEFINES
+# include <openssl/opensslconf.h>
+#else
+# define OPENSSL_ALGORITHM_DEFINES
+# include <openssl/opensslconf.h>
+# undef OPENSSL_ALGORITHM_DEFINES
+#endif
+
 #ifndef NO_COMP
 #include <openssl/comp.h>
 #endif