From: Dr. Stephen Henson Date: Tue, 3 Apr 2007 18:24:22 +0000 (+0000) Subject: Don't process any of kssl.c if krb5 option not set. X-Git-Tag: FIPS_098_TEST_1~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e6fa7c12761c0d4b5e9596c5badcde463984df3e;p=oweals%2Fopenssl.git Don't process any of kssl.c if krb5 option not set. --- diff --git a/ssl/kssl.c b/ssl/kssl.c index 1064282730..f41336a428 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -68,6 +68,8 @@ #include +#ifndef OPENSSL_NO_KRB5 + #define _XOPEN_SOURCE 500 /* glibc2 needs this to declare strptime() */ #include #if 0 /* experimental */ @@ -82,8 +84,6 @@ #include #include -#ifndef OPENSSL_NO_KRB5 - #ifndef ENOMEM #define ENOMEM KRB5KRB_ERR_GENERIC #endif