Don't process any of kssl.c if krb5 option not set.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 3 Apr 2007 18:24:22 +0000 (18:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 3 Apr 2007 18:24:22 +0000 (18:24 +0000)
ssl/kssl.c

index 106428273078b1f5e4513d2c50e21d500b09d318..f41336a4287f7b2e043ce6f4f03b0682e687bc75 100644 (file)
@@ -68,6 +68,8 @@
 
 #include <openssl/opensslconf.h>
 
+#ifndef OPENSSL_NO_KRB5
+
 #define _XOPEN_SOURCE 500 /* glibc2 needs this to declare strptime() */
 #include <time.h>
 #if 0 /* experimental */
@@ -82,8 +84,6 @@
 #include <openssl/objects.h>
 #include <openssl/krb5_asn.h>
 
-#ifndef OPENSSL_NO_KRB5
-
 #ifndef ENOMEM
 #define ENOMEM KRB5KRB_ERR_GENERIC
 #endif