remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2006 - 2008 Kungliga Tekniska Högskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* 3. Neither the name of KTH nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software without
|
||||
@@ -52,18 +52,18 @@ gssapi_err(OM_uint32 maj_stat, OM_uint32 min_stat, gss_OID mech)
|
||||
min_error_message.length = 0;
|
||||
min_error_message.value = NULL;
|
||||
|
||||
disp_maj_stat = gss_display_status(&disp_min_stat, maj_stat,
|
||||
disp_maj_stat = gss_display_status(&disp_min_stat, maj_stat,
|
||||
GSS_C_GSS_CODE,
|
||||
mech, &msg_ctx, &maj_error_message);
|
||||
disp_maj_stat = gss_display_status(&disp_min_stat, min_stat,
|
||||
GSS_C_MECH_CODE,
|
||||
mech, &msg_ctx, &min_error_message);
|
||||
asprintf(&ret, "gss-code: %lu %.*s -- mech-code: %lu %.*s",
|
||||
asprintf(&ret, "gss-code: %lu %.*s -- mech-code: %lu %.*s",
|
||||
(unsigned long)maj_stat,
|
||||
(int)maj_error_message.length,
|
||||
(char *)maj_error_message.value,
|
||||
(int)maj_error_message.length,
|
||||
(char *)maj_error_message.value,
|
||||
(unsigned long)min_stat,
|
||||
(int)min_error_message.length,
|
||||
(int)min_error_message.length,
|
||||
(char *)min_error_message.value);
|
||||
|
||||
gss_release_buffer(&disp_min_stat, &maj_error_message);
|
||||
|
Reference in New Issue
Block a user