After recently upgrading MIT Kerberos V from 1.2.8 to 1.4 on a number of
systems, I'm attempting to rebuild OpenSSL 0.9.7e with Kerberos support.

The MIT `krb5.h' header has changed significantly; in particular it no longer
defines `FAR' and it no longer includes errno.h.  This causes build
failures in the openssl-0.9.7e/ssl directory, with both kssl.h and kssl.c.
Both failures can be fixed with a couple very minor changes to kssl.h

The trivial patch is included below my sig.  Note that I notice now that
most of the source seems to use `#ifndef' instead of `#if !defined()' to
test the define'edness.  My patch uses the latter construct.  If that's
a problem either change it or let me know and I'll fix and resubmit.

Tim
-- 
Tim Mooney                              [EMAIL PROTECTED]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


--- openssl-0.9.7e.orig/ssl/kssl.h      2003-09-27 12:55:18.000000000 -0500
+++ openssl-0.9.7e/ssl/kssl.h   2005-02-09 14:57:46.000000000 -0600
@@ -69,6 +69,7 @@

  #include <stdio.h>
  #include <ctype.h>
+#include <errno.h>
  #include <krb5.h>

  #ifdef  __cplusplus
@@ -84,6 +85,10 @@
  #define FAR
  #endif

+#if !defined(FAR)
+#define FAR
+#endif
+
  /*    Uncomment this to debug kssl problems or
  **    to trace usage of the Kerberos session key
  **

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to