summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gss-serv.c7
-rw-r--r--monitor.c6
3 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 95d2b76f8..25b4adae5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,9 @@
34 - stevesk@cvs.openbsd.org 2006/02/08 12:32:49 34 - stevesk@cvs.openbsd.org 2006/02/08 12:32:49
35 [includes.h misc.c] 35 [includes.h misc.c]
36 move #include <netinet/tcp.h> out of includes.h; ok markus@ 36 move #include <netinet/tcp.h> out of includes.h; ok markus@
37 - stevesk@cvs.openbsd.org 2006/02/08 13:15:44
38 [gss-serv.c monitor.c]
39 small KNF
37 40
3820060313 4120060313
39 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong) 42 - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
@@ -3935,4 +3938,4 @@
3935 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3938 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3936 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3939 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3937 3940
3938$Id: ChangeLog,v 1.4149 2006/03/15 00:19:42 djm Exp $ 3941$Id: ChangeLog,v 1.4150 2006/03/15 00:20:03 djm Exp $
diff --git a/gss-serv.c b/gss-serv.c
index 26eec25bd..56e33d6a2 100644
--- a/gss-serv.c
+++ b/gss-serv.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gss-serv.c,v 1.13 2005/10/13 22:24:31 stevesk Exp $ */ 1/* $OpenBSD: gss-serv.c,v 1.14 2006/02/08 13:15:44 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.
@@ -175,7 +175,7 @@ ssh_gssapi_parse_ename(Gssctxt *ctx, gss_buffer_t ename, gss_buffer_t name)
175 return GSS_S_FAILURE; 175 return GSS_S_FAILURE;
176 176
177 name->value = xmalloc(name->length+1); 177 name->value = xmalloc(name->length+1);
178 memcpy(name->value, tok+offset,name->length); 178 memcpy(name->value, tok+offset, name->length);
179 ((char *)name->value)[name->length] = 0; 179 ((char *)name->value)[name->length] = 0;
180 180
181 return GSS_S_COMPLETE; 181 return GSS_S_COMPLETE;
@@ -234,7 +234,8 @@ ssh_gssapi_cleanup_creds(void)
234{ 234{
235 if (gssapi_client.store.filename != NULL) { 235 if (gssapi_client.store.filename != NULL) {
236 /* Unlink probably isn't sufficient */ 236 /* Unlink probably isn't sufficient */
237 debug("removing gssapi cred file\"%s\"", gssapi_client.store.filename); 237 debug("removing gssapi cred file\"%s\"",
238 gssapi_client.store.filename);
238 unlink(gssapi_client.store.filename); 239 unlink(gssapi_client.store.filename);
239 } 240 }
240} 241}
diff --git a/monitor.c b/monitor.c
index 1d6fcf1d8..4ba78db9c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor.c,v 1.65 2006/02/08 12:15:27 stevesk Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.66 2006/02/08 13:15:44 stevesk Exp $");
29 29
30#include <paths.h> 30#include <paths.h>
31 31
@@ -198,7 +198,7 @@ struct mon_table mon_dispatch_proto20[] = {
198#endif 198#endif
199#ifdef BSD_AUTH 199#ifdef BSD_AUTH
200 {MONITOR_REQ_BSDAUTHQUERY, MON_ISAUTH, mm_answer_bsdauthquery}, 200 {MONITOR_REQ_BSDAUTHQUERY, MON_ISAUTH, mm_answer_bsdauthquery},
201 {MONITOR_REQ_BSDAUTHRESPOND, MON_AUTH,mm_answer_bsdauthrespond}, 201 {MONITOR_REQ_BSDAUTHRESPOND, MON_AUTH, mm_answer_bsdauthrespond},
202#endif 202#endif
203#ifdef SKEY 203#ifdef SKEY
204 {MONITOR_REQ_SKEYQUERY, MON_ISAUTH, mm_answer_skeyquery}, 204 {MONITOR_REQ_SKEYQUERY, MON_ISAUTH, mm_answer_skeyquery},
@@ -239,7 +239,7 @@ struct mon_table mon_dispatch_proto15[] = {
239 {MONITOR_REQ_RSARESPONSE, MON_ONCE|MON_AUTHDECIDE, mm_answer_rsa_response}, 239 {MONITOR_REQ_RSARESPONSE, MON_ONCE|MON_AUTHDECIDE, mm_answer_rsa_response},
240#ifdef BSD_AUTH 240#ifdef BSD_AUTH
241 {MONITOR_REQ_BSDAUTHQUERY, MON_ISAUTH, mm_answer_bsdauthquery}, 241 {MONITOR_REQ_BSDAUTHQUERY, MON_ISAUTH, mm_answer_bsdauthquery},
242 {MONITOR_REQ_BSDAUTHRESPOND, MON_AUTH,mm_answer_bsdauthrespond}, 242 {MONITOR_REQ_BSDAUTHRESPOND, MON_AUTH, mm_answer_bsdauthrespond},
243#endif 243#endif
244#ifdef SKEY 244#ifdef SKEY
245 {MONITOR_REQ_SKEYQUERY, MON_ISAUTH, mm_answer_skeyquery}, 245 {MONITOR_REQ_SKEYQUERY, MON_ISAUTH, mm_answer_skeyquery},