mirror of git://anongit.mindrot.org/openssh.git
- dtucker@cvs.openbsd.org 2007/06/12 11:56:15
[gss-genr.c] Pass GSS OID to gss_display_status to provide better information in error messages. Patch from Simon Wilkinson via bz 1220. ok djm@
This commit is contained in:
parent
2604749651
commit
b1e128f75a
|
@ -33,6 +33,10 @@
|
|||
[ssh.c]
|
||||
improved exit message from multiplex slave sessions; bz #1262
|
||||
reported by alexandre.nunes AT gmail.com; ok dtucker@
|
||||
- dtucker@cvs.openbsd.org 2007/06/12 11:56:15
|
||||
[gss-genr.c]
|
||||
Pass GSS OID to gss_display_status to provide better information in
|
||||
error messages. Patch from Simon Wilkinson via bz 1220. ok djm@
|
||||
|
||||
20070611
|
||||
- (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit
|
||||
|
@ -3047,4 +3051,4 @@
|
|||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||
|
||||
$Id: ChangeLog,v 1.4695 2007/06/12 13:44:10 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.4696 2007/06/12 13:44:36 dtucker Exp $
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* $OpenBSD: gss-genr.c,v 1.18 2007/06/12 08:20:00 djm Exp $ */
|
||||
/* $OpenBSD: gss-genr.c,v 1.19 2007/06/12 11:56:15 dtucker Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001-2006 Simon Wilkinson. All rights reserved.
|
||||
* Copyright (c) 2001-2007 Simon Wilkinson. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
@ -107,7 +107,7 @@ ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *major_status,
|
|||
/* The GSSAPI error */
|
||||
do {
|
||||
gss_display_status(&lmin, ctxt->major,
|
||||
GSS_C_GSS_CODE, GSS_C_NULL_OID, &ctx, &msg);
|
||||
GSS_C_GSS_CODE, ctxt->oid, &ctx, &msg);
|
||||
|
||||
buffer_append(&b, msg.value, msg.length);
|
||||
buffer_put_char(&b, '\n');
|
||||
|
@ -118,7 +118,7 @@ ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *major_status,
|
|||
/* The mechanism specific error */
|
||||
do {
|
||||
gss_display_status(&lmin, ctxt->minor,
|
||||
GSS_C_MECH_CODE, GSS_C_NULL_OID, &ctx, &msg);
|
||||
GSS_C_MECH_CODE, ctxt->oid, &ctx, &msg);
|
||||
|
||||
buffer_append(&b, msg.value, msg.length);
|
||||
buffer_put_char(&b, '\n');
|
||||
|
|
Loading…
Reference in New Issue