diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-06-12 23:44:36 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-06-12 23:44:36 +1000 |
commit | b1e128f75a46a81023482ed00e8e7989f5a95215 (patch) | |
tree | 31dc76662f48203e1afb804025d42ca7d9f1c8ef | |
parent | 26047496519e9ad25fb60da24645580200ecae50 (diff) |
- 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@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gss-genr.c | 8 |
2 files changed, 9 insertions, 5 deletions
@@ -33,6 +33,10 @@ | |||
33 | [ssh.c] | 33 | [ssh.c] |
34 | improved exit message from multiplex slave sessions; bz #1262 | 34 | improved exit message from multiplex slave sessions; bz #1262 |
35 | reported by alexandre.nunes AT gmail.com; ok dtucker@ | 35 | reported by alexandre.nunes AT gmail.com; ok dtucker@ |
36 | - dtucker@cvs.openbsd.org 2007/06/12 11:56:15 | ||
37 | [gss-genr.c] | ||
38 | Pass GSS OID to gss_display_status to provide better information in | ||
39 | error messages. Patch from Simon Wilkinson via bz 1220. ok djm@ | ||
36 | 40 | ||
37 | 20070611 | 41 | 20070611 |
38 | - (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit | 42 | - (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit |
@@ -3047,4 +3051,4 @@ | |||
3047 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3051 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3048 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3052 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3049 | 3053 | ||
3050 | $Id: ChangeLog,v 1.4695 2007/06/12 13:44:10 dtucker Exp $ | 3054 | $Id: ChangeLog,v 1.4696 2007/06/12 13:44:36 dtucker Exp $ |
diff --git a/gss-genr.c b/gss-genr.c index d2b718e7a..e9190575d 100644 --- a/gss-genr.c +++ b/gss-genr.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* $OpenBSD: gss-genr.c,v 1.18 2007/06/12 08:20:00 djm Exp $ */ | 1 | /* $OpenBSD: gss-genr.c,v 1.19 2007/06/12 11:56:15 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001-2006 Simon Wilkinson. All rights reserved. | 4 | * Copyright (c) 2001-2007 Simon Wilkinson. All rights reserved. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | 7 | * modification, are permitted provided that the following conditions |
@@ -107,7 +107,7 @@ ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *major_status, | |||
107 | /* The GSSAPI error */ | 107 | /* The GSSAPI error */ |
108 | do { | 108 | do { |
109 | gss_display_status(&lmin, ctxt->major, | 109 | gss_display_status(&lmin, ctxt->major, |
110 | GSS_C_GSS_CODE, GSS_C_NULL_OID, &ctx, &msg); | 110 | GSS_C_GSS_CODE, ctxt->oid, &ctx, &msg); |
111 | 111 | ||
112 | buffer_append(&b, msg.value, msg.length); | 112 | buffer_append(&b, msg.value, msg.length); |
113 | buffer_put_char(&b, '\n'); | 113 | buffer_put_char(&b, '\n'); |
@@ -118,7 +118,7 @@ ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *major_status, | |||
118 | /* The mechanism specific error */ | 118 | /* The mechanism specific error */ |
119 | do { | 119 | do { |
120 | gss_display_status(&lmin, ctxt->minor, | 120 | gss_display_status(&lmin, ctxt->minor, |
121 | GSS_C_MECH_CODE, GSS_C_NULL_OID, &ctx, &msg); | 121 | GSS_C_MECH_CODE, ctxt->oid, &ctx, &msg); |
122 | 122 | ||
123 | buffer_append(&b, msg.value, msg.length); | 123 | buffer_append(&b, msg.value, msg.length); |
124 | buffer_put_char(&b, '\n'); | 124 | buffer_put_char(&b, '\n'); |