summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--gss-genr.c4
-rw-r--r--ssh-gss.h4
3 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 167c65d2a..4f31df3ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,6 +38,10 @@
38 [gss-genr.c ssh-gss.h sshconnect2.c] 38 [gss-genr.c ssh-gss.h sshconnect2.c]
39 bz #1218 - disable SPNEGO as per RFC4462; diff from simon AT sxw.org.uk 39 bz #1218 - disable SPNEGO as per RFC4462; diff from simon AT sxw.org.uk
40 ok markus@ 40 ok markus@
41 - djm@cvs.openbsd.org 2006/08/18 14:40:34
42 [gss-genr.c ssh-gss.h]
43 constify host argument to match the rest of the GSSAPI functions and
44 unbreak compilation with -Werror
41 45
4220060817 4620060817
43 - (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c] 47 - (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c]
@@ -5259,4 +5263,4 @@
5259 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5263 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5260 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5264 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5261 5265
5262$Id: ChangeLog,v 1.4494 2006/08/18 14:33:34 djm Exp $ 5266$Id: ChangeLog,v 1.4495 2006/08/18 14:46:43 djm Exp $
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
294int 294int
295ssh_gssapi_check_mechanism(Gssctxt **ctx, gss_OID oid, char *host) 295ssh_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;
diff --git a/ssh-gss.h b/ssh-gss.h
index a188d6121..1ef66e482 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-gss.h,v 1.8 2006/08/18 13:54:54 djm Exp $ */ 1/* $OpenBSD: ssh-gss.h,v 1.9 2006/08/18 14:40:34 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 3 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
4 * 4 *
@@ -118,7 +118,7 @@ void ssh_gssapi_delete_ctx(Gssctxt **);
118OM_uint32 ssh_gssapi_sign(Gssctxt *, gss_buffer_t, gss_buffer_t); 118OM_uint32 ssh_gssapi_sign(Gssctxt *, gss_buffer_t, gss_buffer_t);
119OM_uint32 ssh_gssapi_server_ctx(Gssctxt **, gss_OID); 119OM_uint32 ssh_gssapi_server_ctx(Gssctxt **, gss_OID);
120void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *); 120void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *);
121int ssh_gssapi_check_mechanism(Gssctxt **, gss_OID, char *); 121int ssh_gssapi_check_mechanism(Gssctxt **, gss_OID, const char *);
122 122
123/* In the server */ 123/* In the server */
124int ssh_gssapi_userok(char *name); 124int ssh_gssapi_userok(char *name);