summaryrefslogtreecommitdiffstats
path: root/ssl/kssl.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-10-10 07:55:02 +0000
committerRichard Levitte <levitte@openssl.org>2001-10-10 07:55:02 +0000
commit116daf4c2f20b43a7ea349fcff407a4c85943d65 (patch)
tree0f7630e6be3525823bca8c5587f52cd99f156696 /ssl/kssl.c
parentcb40bdaf579a64dfb527471b7a159968e482ad15 (diff)
To avoid commit wars over dependencies, let's make it so things that
depend on the environment, like the presence of the OpenBSD crypto device or of Kerberos, do not change the dependencies within OpenSSL.
Diffstat (limited to 'ssl/kssl.c')
-rw-r--r--ssl/kssl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c
index f1733048ed..e61b698062 100644
--- a/ssl/kssl.c
+++ b/ssl/kssl.c
@@ -67,7 +67,7 @@
*/
#include <openssl/opensslconf.h>
-#ifndef OPENSSL_NO_KRB5
+
#define _XOPEN_SOURCE /* glibc2 needs this to declare strptime() */
#include <time.h>
#include <string.h>
@@ -77,6 +77,8 @@
#include <openssl/objects.h>
#include <openssl/krb5_asn.h>
+#ifndef OPENSSL_NO_KRB5
+
/*
* When OpenSSL is built on Windows, we do not want to require that
* the Kerberos DLLs be available in order for the OpenSSL DLLs to