summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2007-10-29 00:52:46 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2007-10-29 00:52:46 +0000
commitac69fc6e9718416435ac7ac4b8125364792f0889 (patch)
tree44645c6f08acffa7fe211a607c2c9e2a6489ad71
parentfeb608aea24f4b782c378501dc1c9e9a965e8518 (diff)
Allow build without -DGSSAPI; ok deraadt@
-rw-r--r--usr.bin/ssh/auth2-gss.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth2-gss.c b/usr.bin/ssh/auth2-gss.c
index 191dcc49ca7..3a15cf58ce6 100644
--- a/usr.bin/ssh/auth2-gss.c
+++ b/usr.bin/ssh/auth2-gss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-gss.c,v 1.15 2006/08/03 03:34:41 deraadt Exp $ */
+/* $OpenBSD: auth2-gss.c,v 1.16 2007/10/29 00:52:45 dtucker Exp $ */
/*
* Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -24,6 +24,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef GSSAPI
+
#include <sys/types.h>
#include "xmalloc.h"
@@ -291,3 +293,4 @@ Authmethod method_gssapi = {
userauth_gssapi,
&options.gss_authentication
};
+#endif