summaryrefslogtreecommitdiff
path: root/gss-genr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gss-genr.c')
-rw-r--r--gss-genr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gss-genr.c b/gss-genr.c
index 9bc31aa2a..c2b4f2dd8 100644
--- a/gss-genr.c
+++ b/gss-genr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gss-genr.c,v 1.4 2005/07/17 07:17:55 djm Exp $ */ 1/* $OpenBSD: gss-genr.c,v 1.6 2005/10/13 22:24:31 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -30,9 +30,7 @@
30 30
31#include "xmalloc.h" 31#include "xmalloc.h"
32#include "bufaux.h" 32#include "bufaux.h"
33#include "compat.h"
34#include "log.h" 33#include "log.h"
35#include "monitor_wrap.h"
36#include "ssh2.h" 34#include "ssh2.h"
37 35
38#include "ssh-gss.h" 36#include "ssh-gss.h"
@@ -270,7 +268,8 @@ ssh_gssapi_buildmic(Buffer *b, const char *user, const char *service,
270} 268}
271 269
272OM_uint32 270OM_uint32
273ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) { 271ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid)
272{
274 if (*ctx) 273 if (*ctx)
275 ssh_gssapi_delete_ctx(ctx); 274 ssh_gssapi_delete_ctx(ctx);
276 ssh_gssapi_build_ctx(ctx); 275 ssh_gssapi_build_ctx(ctx);