From 2a54096d41e5f771b9e9abd3e507c56b251eb45b Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 8 May 2008 12:02:23 +0000 Subject: Implement a channel success/failure status confirmation callback mechanism. Each channel maintains a queue of callbacks, which will be drained in order (RFC4253 guarantees confirm messages are not reordered within an channel). Also includes a abandonment callback to clean up if a channel is closed without sending confirmation messages. This probably shouldn't happen in compliant implementations, but it could be abused to leak memory. ok markus@ (as part of a larger diff) --- usr.bin/ssh/gss-serv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh/gss-serv.c') diff --git a/usr.bin/ssh/gss-serv.c b/usr.bin/ssh/gss-serv.c index 21bc60fb3bb..5dc73f1513c 100644 --- a/usr.bin/ssh/gss-serv.c +++ b/usr.bin/ssh/gss-serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gss-serv.c,v 1.21 2007/06/12 08:20:00 djm Exp $ */ +/* $OpenBSD: gss-serv.c,v 1.22 2008/05/08 12:02:23 djm Exp $ */ /* * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. @@ -26,6 +26,7 @@ #include #include +#include #ifdef GSSAPI -- cgit v1.2.3-59-g8ed1b