diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-19 00:46:43 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-19 00:46:43 +1000 |
commit | 3d2d6e90e4c6f46347b7212401198babe49f2c50 (patch) | |
tree | 4725e8c03825651f1c2eb9b77742776d06248669 /gss-genr.c | |
parent | a1cb9f334bcc6ebd7bf2b5229b7645d995de0a15 (diff) |
- 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gss-genr.c b/gss-genr.c index 1bb67e84f..2ea2077c6 100644 --- a/gss-genr.c +++ b/gss-genr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gss-genr.c,v 1.14 2006/08/18 13:54:54 djm Exp $ */ | 1 | /* $OpenBSD: gss-genr.c,v 1.15 2006/08/18 14:40:34 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001-2006 Simon Wilkinson. All rights reserved. | 4 | * Copyright (c) 2001-2006 Simon Wilkinson. All rights reserved. |
@@ -292,7 +292,7 @@ ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) | |||
292 | } | 292 | } |
293 | 293 | ||
294 | int | 294 | int |
295 | ssh_gssapi_check_mechanism(Gssctxt **ctx, gss_OID oid, char *host) | 295 | ssh_gssapi_check_mechanism(Gssctxt **ctx, gss_OID oid, const char *host) |
296 | { | 296 | { |
297 | gss_buffer_desc token = GSS_C_EMPTY_BUFFER; | 297 | gss_buffer_desc token = GSS_C_EMPTY_BUFFER; |
298 | OM_uint32 major, minor; | 298 | OM_uint32 major, minor; |