gss-genr.c (126274) | gss-genr.c (149749) |
---|---|
1/* $OpenBSD: gss-genr.c,v 1.3 2003/11/21 11:57:03 djm Exp $ */ | 1/* $OpenBSD: gss-genr.c,v 1.4 2005/07/17 07:17:55 djm Exp $ */ |
2 3/* 4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 63 unchanged lines hidden (view full) --- 73/* All this effort to report an error ... */ 74void 75ssh_gssapi_error(Gssctxt *ctxt) 76{ 77 debug("%s", ssh_gssapi_last_error(ctxt, NULL, NULL)); 78} 79 80char * | 2 3/* 4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 63 unchanged lines hidden (view full) --- 73/* All this effort to report an error ... */ 74void 75ssh_gssapi_error(Gssctxt *ctxt) 76{ 77 debug("%s", ssh_gssapi_last_error(ctxt, NULL, NULL)); 78} 79 80char * |
81ssh_gssapi_last_error(Gssctxt *ctxt, 82 OM_uint32 *major_status, OM_uint32 *minor_status) | 81ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *major_status, 82 OM_uint32 *minor_status) |
83{ 84 OM_uint32 lmin; 85 gss_buffer_desc msg = GSS_C_EMPTY_BUFFER; 86 OM_uint32 ctx; 87 Buffer b; 88 char *ret; 89 90 buffer_init(&b); --- 191 unchanged lines hidden --- | 83{ 84 OM_uint32 lmin; 85 gss_buffer_desc msg = GSS_C_EMPTY_BUFFER; 86 OM_uint32 ctx; 87 Buffer b; 88 char *ret; 89 90 buffer_init(&b); --- 191 unchanged lines hidden --- |