diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2006-08-18 14:40:35 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2006-08-18 14:40:35 +0000 |
commit | c5b4c9e5e1abc8c5f2fd8431f052079da52de974 (patch) | |
tree | 4254e93b80360996018f085a5a840c311fa7b85c /usr.bin | |
parent | 342e2ef18c1f091e7cb548274ccc2dae9df746f7 (diff) |
constify host argument to match the rest of the GSSAPI functions and
unbreak compilation with -Werror
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/gss-genr.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-gss.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/gss-genr.c b/usr.bin/ssh/gss-genr.c index 5f0d6357714..8321c709a95 100644 --- a/usr.bin/ssh/gss-genr.c +++ b/usr.bin/ssh/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. @@ -288,7 +288,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; diff --git a/usr.bin/ssh/ssh-gss.h b/usr.bin/ssh/ssh-gss.h index 6b0d940d2a2..ff506a8adef 100644 --- a/usr.bin/ssh/ssh-gss.h +++ b/usr.bin/ssh/ssh-gss.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-gss.h,v 1.8 2006/08/18 13:54:54 djm Exp $ */ +/* $OpenBSD: ssh-gss.h,v 1.9 2006/08/18 14:40:34 djm Exp $ */ /* * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. * @@ -98,7 +98,7 @@ void ssh_gssapi_delete_ctx(Gssctxt **); OM_uint32 ssh_gssapi_sign(Gssctxt *, gss_buffer_t, gss_buffer_t); OM_uint32 ssh_gssapi_server_ctx(Gssctxt **, gss_OID); void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *); -int ssh_gssapi_check_mechanism(Gssctxt **, gss_OID, char *); +int ssh_gssapi_check_mechanism(Gssctxt **, gss_OID, const char *); /* In the server */ int ssh_gssapi_userok(char *name); |