projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9756da1
)
Definition of NO_KRB5 in ssl.h for external applications.
author
Ulf Möller
<ulf@openssl.org>
Mon, 22 Jan 2001 18:46:32 +0000
(18:46 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Mon, 22 Jan 2001 18:46:32 +0000
(18:46 +0000)
Configure
patch
|
blob
|
history
ssl/ssl.h
patch
|
blob
|
history
diff --git
a/Configure
b/Configure
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
{
diff --git
a/ssl/ssl.h
b/ssl/ssl.h
index b07c5ef72797d74e9960030e1ba07b5b54570308..55f32724ff258b0156bb04b0739f0e4dd1dc58fb 100644
(file)
--- 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 <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