From ac69fc6e9718416435ac7ac4b8125364792f0889 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 29 Oct 2007 00:52:46 +0000 Subject: Allow build without -DGSSAPI; ok deraadt@ --- usr.bin/ssh/auth2-gss.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 #include "xmalloc.h" @@ -291,3 +293,4 @@ Authmethod method_gssapi = { userauth_gssapi, &options.gss_authentication }; +#endif -- cgit v1.2.3