summaryrefslogtreecommitdiff
path: root/gss-genr.c
diff options
context:
space:
mode:
authordjm <djm>2006-08-18 14:46:43 +0000
committerdjm <djm>2006-08-18 14:46:43 +0000
commit74c4b84b6915eebc02151cd43394e4cc36d03127 (patch)
tree445d742ccb0107dcb2bd92a837917971e13086b1 /gss-genr.c
parent4dbc9cb9539be7a566dad2e891a18c63baf446e7 (diff)
downloadopenssh-74c4b84b6915eebc02151cd43394e4cc36d03127.tar.gz
- djm@cvs.openbsd.org 2006/08/18 14:40:34
[gss-genr.c ssh-gss.h] constify host argument to match the rest of the GSSAPI functions and unbreak compilation with -Werror
Diffstat (limited to 'gss-genr.c')
-rw-r--r--gss-genr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gss-genr.c b/gss-genr.c
index 1bb67e84..2ea2077c 100644
--- a/gss-genr.c
+++ b/gss-genr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gss-genr.c,v 1.14 2006/08/18 13:54:54 djm Exp $ */
+/* $OpenBSD: gss-genr.c,v 1.15 2006/08/18 14:40:34 djm Exp $ */
/*
* Copyright (c) 2001-2006 Simon Wilkinson. All rights reserved.
@@ -292,7 +292,7 @@ ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid)
}
int
-ssh_gssapi_check_mechanism(Gssctxt **ctx, gss_OID oid, char *host)
+ssh_gssapi_check_mechanism(Gssctxt **ctx, gss_OID oid, const char *host)
{
gss_buffer_desc token = GSS_C_EMPTY_BUFFER;
OM_uint32 major, minor;