diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-02-24 00:37:33 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-02-24 00:37:33 +0100 |
commit | 0d27ed1c19d6de6bd50ab1f5096aee1c1ee97f69 (patch) | |
tree | 96bf92158b339f80c990b2f52e536781912dc8bf /gss-serv-krb5.c | |
parent | - markus@cvs.openbsd.org 2004/02/23 15:16:46 (diff) | |
download | openssh-0d27ed1c19d6de6bd50ab1f5096aee1c1ee97f69.tar.xz openssh-0d27ed1c19d6de6bd50ab1f5096aee1c1ee97f69.zip |
- (dtucker) [configure.ac gss-serv-krb5.c ssh-gss.h] Define GSSAPI when found
with krb5-config, hunt down gssapi.h and friends. Based partially on patch
from deengert at anl.gov.
For the MIT Kerberos bug against krb5-config related to this see:
http://krbdev.mit.edu/rt/Ticket/Display.html?id=2240
Diffstat (limited to 'gss-serv-krb5.c')
-rw-r--r-- | gss-serv-krb5.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gss-serv-krb5.c b/gss-serv-krb5.c index 7373beb6d..8ba3e7182 100644 --- a/gss-serv-krb5.c +++ b/gss-serv-krb5.c @@ -39,9 +39,13 @@ extern ServerOptions options; #ifdef HEIMDAL -#include <krb5.h> +# include <krb5.h> #else -#include <gssapi_krb5.h> +# ifdef HAVE_GSSAPI_KRB5 +# include <gssapi_krb5.h> +# elif HAVE_GSSAPI_GSSAPI_KRB5 +# include <gssapi/gssapi_krb5.h> +# endif #endif static krb5_context krb_context = NULL; |