summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac18
-rw-r--r--ssh-gss.h11
3 files changed, 26 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 3d060e2cc..0d0340f8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120130225
2 - (dtucker) [configure.ac ssh-gss.h] bz#2073: additional #includes needed
3 to use Solaris native GSS libs. Patch from Pierre Ossman.
4
120130223 520130223
2 - (djm) [configure.ac includes.h loginrec.c mux.c sftp.c] Prefer 6 - (djm) [configure.ac includes.h loginrec.c mux.c sftp.c] Prefer
3 bsd/libutil.h to libutil.h to avoid deprecation warnings on Ubuntu. 7 bsd/libutil.h to libutil.h to avoid deprecation warnings on Ubuntu.
diff --git a/configure.ac b/configure.ac
index 3ea3f8a35..f2d671197 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.509 2013/02/22 22:12:24 djm Exp $ 1# $Id: configure.ac,v 1.510 2013/02/25 00:24:44 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) 17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
18AC_REVISION($Revision: 1.509 $) 18AC_REVISION($Revision: 1.510 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20AC_LANG([C]) 20AC_LANG([C])
21 21
@@ -3722,6 +3722,20 @@ AC_ARG_WITH([kerberos5],
3722 3722
3723 AC_SEARCH_LIBS([k_hasafs], [kafs], [AC_DEFINE([USE_AFS], [1], 3723 AC_SEARCH_LIBS([k_hasafs], [kafs], [AC_DEFINE([USE_AFS], [1],
3724 [Define this if you want to use libkafs' AFS support])]) 3724 [Define this if you want to use libkafs' AFS support])])
3725
3726 AC_CHECK_DECLS([GSS_C_NT_HOSTBASED_SERVICE], [], [], [[
3727#ifdef HAVE_GSSAPI_H
3728# include <gssapi.h>
3729#elif defined(HAVE_GSSAPI_GSSAPI_H)
3730# include <gssapi/gssapi.h>
3731#endif
3732
3733#ifdef HAVE_GSSAPI_GENERIC_H
3734# include <gssapi_generic.h>
3735#elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H)
3736# include <gssapi/gssapi_generic.h>
3737#endif
3738 ]])
3725 fi 3739 fi
3726 ] 3740 ]
3727) 3741)
diff --git a/ssh-gss.h b/ssh-gss.h
index c29a1b7e7..077e13ce4 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -42,12 +42,13 @@
42# include <gssapi/gssapi_generic.h> 42# include <gssapi/gssapi_generic.h>
43# endif 43# endif
44 44
45/* MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */ 45/* Old MIT Kerberos doesn't seem to define GSS_NT_HOSTBASED_SERVICE */
46 46
47#ifndef GSS_C_NT_HOSTBASED_SERVICE 47# if !HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE
48#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name 48# define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
49#endif /* GSS_C_NT_... */ 49# endif /* !HAVE_DECL_GSS_C_NT_... */
50#endif /* !HEIMDAL */ 50
51# endif /* !HEIMDAL */
51#endif /* KRB5 */ 52#endif /* KRB5 */
52 53
53/* draft-ietf-secsh-gsskeyex-06 */ 54/* draft-ietf-secsh-gsskeyex-06 */