diff options
| author | Greg Hudson <ghudson@mit.edu> | 2011-03-09 21:46:07 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2011-03-09 21:46:07 +0000 |
| commit | 7da53e2942176c5ddfe007ba0a36f449e9fdb9fb (patch) | |
| tree | 4881536c48fdeb215e0cbaea18263365330ad9b0 /src/lib/gssapi | |
| parent | fe012b454a193c1f81ab8011ecd620750e5869f0 (diff) | |
| download | krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.gz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.xz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.zip | |
Adjust most C source files to match the new standards for copyright
and license comments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
50 files changed, 77 insertions, 211 deletions
diff --git a/src/lib/gssapi/generic/gssapi_ext.h b/src/lib/gssapi/generic/gssapi_ext.h index d68b6cd0a..d92bbcff4 100644 --- a/src/lib/gssapi/generic/gssapi_ext.h +++ b/src/lib/gssapi/generic/gssapi_ext.h @@ -20,7 +20,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #ifndef GSSAPI_EXT_H_ diff --git a/src/lib/gssapi/generic/oid_ops.c b/src/lib/gssapi/generic/oid_ops.c index d7cd5a444..c42354295 100644 --- a/src/lib/gssapi/generic/oid_ops.c +++ b/src/lib/gssapi/generic/oid_ops.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/generic/oid_ops.c */ /* - * lib/gssapi/generic/oid_ops.c - * * Copyright 1995 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,13 +22,31 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ - /* - * oid_ops.c - GSS-API V2 interfaces to manipulate OIDs + * Copyright 1993 by OpenVision Technologies, Inc. + * + * Permission to use, copy, modify, distribute, and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appears in all copies and + * that both that copyright notice and this permission notice appear in + * supporting documentation, and that the name of OpenVision not be used + * in advertising or publicity pertaining to distribution of the software + * without specific, written prior permission. OpenVision makes no + * representations about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + * + * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. */ +/* GSS-API V2 interfaces to manipulate OIDs */ + #include "gssapiP_generic.h" #ifdef HAVE_UNISTD_H #include <unistd.h> @@ -478,27 +495,6 @@ generic_gss_oid_decompose(OM_uint32 *minor_status, return GSS_S_COMPLETE; } -/* - * Copyright 1993 by OpenVision Technologies, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software - * and its documentation for any purpose is hereby granted without fee, - * provided that the above copyright notice appears in all copies and - * that both that copyright notice and this permission notice appear in - * supporting documentation, and that the name of OpenVision not be used - * in advertising or publicity pertaining to distribution of the software - * without specific, written prior permission. OpenVision makes no - * representations about the suitability of this software for any - * purpose. It is provided "as is" without express or implied warranty. - * - * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, - * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO - * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR - * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF - * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ OM_uint32 generic_gss_copy_oid_set(OM_uint32 *minor_status, const gss_OID_set_desc * const oidset, diff --git a/src/lib/gssapi/generic/utl_nohash_validate.c b/src/lib/gssapi/generic/utl_nohash_validate.c index 066780a52..1315532d7 100644 --- a/src/lib/gssapi/generic/utl_nohash_validate.c +++ b/src/lib/gssapi/generic/utl_nohash_validate.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * stub functions for those without the hash library. - */ +/* Stub functions for those without the hash library */ #include "gssapiP_generic.h" diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c index 0344ebd10..4c8d15306 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1993 by OpenVision Technologies, Inc. diff --git a/src/lib/gssapi/krb5/acquire_cred.c b/src/lib/gssapi/krb5/acquire_cred.c index ae34f95cc..93e188ae9 100644 --- a/src/lib/gssapi/krb5/acquire_cred.c +++ b/src/lib/gssapi/krb5/acquire_cred.c @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1993 by OpenVision Technologies, Inc. diff --git a/src/lib/gssapi/krb5/canon_name.c b/src/lib/gssapi/krb5/canon_name.c index 3dd01dcd3..81b08a534 100644 --- a/src/lib/gssapi/krb5/canon_name.c +++ b/src/lib/gssapi/krb5/canon_name.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/canon_name.c */ /* - * lib/gssapi/krb5/canon_name.c - * * Copyright 1997 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "gssapiP_krb5.h" diff --git a/src/lib/gssapi/krb5/duplicate_name.c b/src/lib/gssapi/krb5/duplicate_name.c index c054d74aa..256fb5e75 100644 --- a/src/lib/gssapi/krb5/duplicate_name.c +++ b/src/lib/gssapi/krb5/duplicate_name.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/duplicate_name.c */ /* - * lib/gssapi/krb5/duplicate_name.c - * * Copyright 1997,2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "gssapiP_krb5.h" diff --git a/src/lib/gssapi/krb5/export_name.c b/src/lib/gssapi/krb5/export_name.c index 52c2440f6..c4a1a1241 100644 --- a/src/lib/gssapi/krb5/export_name.c +++ b/src/lib/gssapi/krb5/export_name.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/export_name.c */ /* - * lib/gssapi/krb5/export_name.c - * * Copyright 1997, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "gssapiP_krb5.h" diff --git a/src/lib/gssapi/krb5/export_sec_context.c b/src/lib/gssapi/krb5/export_sec_context.c index 271c58cab..ac12d82b9 100644 --- a/src/lib/gssapi/krb5/export_sec_context.c +++ b/src/lib/gssapi/krb5/export_sec_context.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/export_sec_context.c - Externalize a security context */ /* - * lib/gssapi/krb5/export_sec_context.c - * * Copyright 1995, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * export_sec_context.c - Externalize the security context. - */ #include "gssapiP_krb5.h" #ifndef LEAN_CLIENT OM_uint32 diff --git a/src/lib/gssapi/krb5/iakerb.c b/src/lib/gssapi/krb5/iakerb.c index 8c9958ffd..b58d384da 100644 --- a/src/lib/gssapi/krb5/iakerb.c +++ b/src/lib/gssapi/krb5/iakerb.c @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "k5-int.h" #include "gssapiP_krb5.h" @@ -789,9 +788,6 @@ iakerb_make_exts(iakerb_ctx_id_t ctx, krb5_gss_ctx_ext_rec *exts) exts->iakerb.conv = &ctx->conv; } -/* - * - */ OM_uint32 iakerb_gss_accept_sec_context(OM_uint32 *minor_status, gss_ctx_id_t *context_handle, diff --git a/src/lib/gssapi/krb5/import_sec_context.c b/src/lib/gssapi/krb5/import_sec_context.c index 30ec2309e..daf3577be 100644 --- a/src/lib/gssapi/krb5/import_sec_context.c +++ b/src/lib/gssapi/krb5/import_sec_context.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/import_sec_context.c - Internalize the security context */ /* - * lib/gssapi/krb5/import_sec_context.c - * * Copyright 1995,2004,2007,2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * import_sec_context.c - Internalize the security context. - */ #include "gssapiP_krb5.h" /* for serialization initialization functions */ #include "k5-int.h" diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c index d811eb30c..b04330adf 100644 --- a/src/lib/gssapi/krb5/init_sec_context.c +++ b/src/lib/gssapi/krb5/init_sec_context.c @@ -1,7 +1,7 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* - * Copyright 2000, 2002, 2003, 2007, 2008 by the Massachusetts Institute of Technology. - * All Rights Reserved. + * Copyright 2000, 2002, 2003, 2007, 2008 by the Massachusetts Institute of + * Technology. All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1993 by OpenVision Technologies, Inc. diff --git a/src/lib/gssapi/krb5/inq_cred.c b/src/lib/gssapi/krb5/inq_cred.c index b97ed89aa..493dd039d 100644 --- a/src/lib/gssapi/krb5/inq_cred.c +++ b/src/lib/gssapi/krb5/inq_cred.c @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1993 by OpenVision Technologies, Inc. diff --git a/src/lib/gssapi/krb5/inq_names.c b/src/lib/gssapi/krb5/inq_names.c index 19c477f83..3980062cd 100644 --- a/src/lib/gssapi/krb5/inq_names.c +++ b/src/lib/gssapi/krb5/inq_names.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/inq_names.c - Return nametypes supported by krb5 mech */ /* - * lib/gssapi/krb5/inq_names.c - * * Copyright 1995 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * inq_names.c - Return set of nametypes supported by the KRB5 mechanism. - */ #include "gssapiP_krb5.h" OM_uint32 diff --git a/src/lib/gssapi/krb5/k5sealiov.c b/src/lib/gssapi/krb5/k5sealiov.c index d797ce930..445cdc79a 100644 --- a/src/lib/gssapi/krb5/k5sealiov.c +++ b/src/lib/gssapi/krb5/k5sealiov.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/k5sealiov.c */ /* - * lib/gssapi/krb5/k5sealiov.c - * * Copyright 2008, 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,8 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/k5sealv3.c b/src/lib/gssapi/krb5/k5sealv3.c index 1613913a7..f050f6dea 100644 --- a/src/lib/gssapi/krb5/k5sealv3.c +++ b/src/lib/gssapi/krb5/k5sealv3.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/k5sealv3.c */ /* - * lib/gssapi/krb5/k5sealv3.c - * * Copyright 2003,2004,2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,9 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ + /* draft-ietf-krb-wg-gssapi-cfx-05 */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/k5sealv3iov.c b/src/lib/gssapi/krb5/k5sealv3iov.c index 5ccee2cd7..d6829607b 100644 --- a/src/lib/gssapi/krb5/k5sealv3iov.c +++ b/src/lib/gssapi/krb5/k5sealv3iov.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/k5sealv3iov.c */ /* - * lib/gssapi/krb5/k5sealv3iov.c - * * Copyright 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,8 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/k5unsealiov.c b/src/lib/gssapi/krb5/k5unsealiov.c index 9c821a6fc..185389d68 100644 --- a/src/lib/gssapi/krb5/k5unsealiov.c +++ b/src/lib/gssapi/krb5/k5unsealiov.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/k5unsealiov.c */ /* - * lib/gssapi/krb5/k5unsealiov.c - * * Copyright 2008, 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,8 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c index 6fe069bda..c670b14fe 100644 --- a/src/lib/gssapi/krb5/lucid_context.c +++ b/src/lib/gssapi/krb5/lucid_context.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/lucid_context.c */ /* - * lib/gssapi/krb5/lucid_context.c - * * Copyright 2004, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,13 +22,10 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * lucid_context.c - Externalize a "lucid" security - * context from a krb5_gss_ctx_id_rec structure. - */ +/* Externalize a "lucid" security context from a krb5_gss_ctx_id_rec + * structure. */ #include "gssapiP_krb5.h" #include "gssapi_krb5.h" diff --git a/src/lib/gssapi/krb5/naming_exts.c b/src/lib/gssapi/krb5/naming_exts.c index 986717016..31bfb723b 100644 --- a/src/lib/gssapi/krb5/naming_exts.c +++ b/src/lib/gssapi/krb5/naming_exts.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/naming_exts.c */ /* - * lib/gssapi/krb5/naming_exts.c - * * Copyright 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,8 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/prf.c b/src/lib/gssapi/krb5/prf.c index 79e2d8759..ae7ee9fde 100644 --- a/src/lib/gssapi/krb5/prf.c +++ b/src/lib/gssapi/krb5/prf.c @@ -1,7 +1,6 @@ /* -*- mode: c; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/prf.c */ /* - * lib/gssapi/krb5/prf.c - * * Copyright 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,8 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/rel_oid.c b/src/lib/gssapi/krb5/rel_oid.c index 4e6c0f671..e5720e587 100644 --- a/src/lib/gssapi/krb5/rel_oid.c +++ b/src/lib/gssapi/krb5/rel_oid.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/rel_oid.c - Release an OID */ /* - * lib/gssapi/krb5/rel_oid.c - * * Copyright 1995, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * rel_oid.c - Release an OID. - */ #include "gssapiP_krb5.h" OM_uint32 krb5_gss_internal_release_oid (OM_uint32 *, /* minor_status */ diff --git a/src/lib/gssapi/krb5/s4u_gss_glue.c b/src/lib/gssapi/krb5/s4u_gss_glue.c index 4cebf7fa6..ac3fa2909 100644 --- a/src/lib/gssapi/krb5/s4u_gss_glue.c +++ b/src/lib/gssapi/krb5/s4u_gss_glue.c @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "k5-int.h" #include "gssapiP_krb5.h" diff --git a/src/lib/gssapi/krb5/ser_sctx.c b/src/lib/gssapi/krb5/ser_sctx.c index dc679c9d8..ba57511e7 100644 --- a/src/lib/gssapi/krb5/ser_sctx.c +++ b/src/lib/gssapi/krb5/ser_sctx.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/ser_sctx.c - [De]serialization of security context */ /* - * lib/gssapi/krb5/ser_sctx.c - * * Copyright 1995, 2004, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * ser_sctx.c - Handle [de]serialization of GSSAPI security context. - */ #include "k5-int.h" #include "gssapiP_krb5.h" diff --git a/src/lib/gssapi/krb5/set_allowable_enctypes.c b/src/lib/gssapi/krb5/set_allowable_enctypes.c index fe88d1b85..7ef4aeedb 100644 --- a/src/lib/gssapi/krb5/set_allowable_enctypes.c +++ b/src/lib/gssapi/krb5/set_allowable_enctypes.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/set_allowable_enctypes.c */ /* - * lib/gssapi/krb5/set_allowable_enctypes.c - * * Copyright 2004 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * + */ + +/* * krb5_gss_set_allowable_enctypes() */ diff --git a/src/lib/gssapi/krb5/set_ccache.c b/src/lib/gssapi/krb5/set_ccache.c index 4b6c89065..dcbe024e3 100644 --- a/src/lib/gssapi/krb5/set_ccache.c +++ b/src/lib/gssapi/krb5/set_ccache.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/set_ccache.c */ /* - * lib/gssapi/krb5/set_ccache.c - * * Copyright 1999, 2003 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * + */ + +/* * Set ccache name used by gssapi, and optionally obtain old ccache * name. Caller should not free returned name. */ diff --git a/src/lib/gssapi/krb5/store_cred.c b/src/lib/gssapi/krb5/store_cred.c index 65c903b58..7cae1b86d 100644 --- a/src/lib/gssapi/krb5/store_cred.c +++ b/src/lib/gssapi/krb5/store_cred.c @@ -1,7 +1,6 @@ /* -*- mode: c; indent-tabs-mode: nil -*- */ +/* lib/gssapi/krb5/store_cred.c */ /* - * lib/gssapi/krb5/store_cred.c - * * Copyright 2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,8 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * */ #include <assert.h> diff --git a/src/lib/gssapi/krb5/val_cred.c b/src/lib/gssapi/krb5/val_cred.c index 2351d9f77..0e1cacd32 100644 --- a/src/lib/gssapi/krb5/val_cred.c +++ b/src/lib/gssapi/krb5/val_cred.c @@ -21,15 +21,12 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "gssapiP_krb5.h" -/* - * Check to see whether or not a GSSAPI krb5 credential is valid. If - * it is not, return an error. - */ +/* Check to see whether or not a GSSAPI krb5 credential is valid. If + * it is not, return an error. */ OM_uint32 krb5_gss_validate_cred_1(OM_uint32 *minor_status, gss_cred_id_t cred_handle, diff --git a/src/lib/gssapi/krb5/wrap_size_limit.c b/src/lib/gssapi/krb5/wrap_size_limit.c index b047483cb..c13e22ca6 100644 --- a/src/lib/gssapi/krb5/wrap_size_limit.c +++ b/src/lib/gssapi/krb5/wrap_size_limit.c @@ -21,7 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1993 by OpenVision Technologies, Inc. diff --git a/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c b/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c index 9ba6a1faa..972d1c50c 100644 --- a/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c +++ b/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c @@ -22,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1996 by Sun Microsystems, Inc. @@ -46,9 +45,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* - * glue routine for gss_acquire_cred_impersonate_name - */ +/* Glue routine for gss_acquire_cred_impersonate_name */ #include "mglueP.h" #include <stdio.h> diff --git a/src/lib/gssapi/mechglue/g_buffer_set.c b/src/lib/gssapi/mechglue/g_buffer_set.c index 38d744dc1..9310ddb4b 100644 --- a/src/lib/gssapi/mechglue/g_buffer_set.c +++ b/src/lib/gssapi/mechglue/g_buffer_set.c @@ -20,7 +20,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_del_name_attr.c b/src/lib/gssapi/mechglue/g_del_name_attr.c index b72ee3b51..e81e3315a 100644 --- a/src/lib/gssapi/mechglue/g_del_name_attr.c +++ b/src/lib/gssapi/mechglue/g_del_name_attr.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_delete_name_attribute - */ +/* Glue routine for gss_delete_name_attribute */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_get_name_attr.c b/src/lib/gssapi/mechglue/g_get_name_attr.c index fcd9558dd..d9363c118 100644 --- a/src/lib/gssapi/mechglue/g_get_name_attr.c +++ b/src/lib/gssapi/mechglue/g_get_name_attr.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_get_name_attribute - */ +/* Glue routine for gss_get_name_attribute */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_inq_context_oid.c b/src/lib/gssapi/mechglue/g_inq_context_oid.c index 469aa7080..ebdeaaee8 100644 --- a/src/lib/gssapi/mechglue/g_inq_context_oid.c +++ b/src/lib/gssapi/mechglue/g_inq_context_oid.c @@ -20,12 +20,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_inquire_sec_context_by_oid - */ +/* Glue routine for gss_inquire_sec_context_by_oid */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_inq_cred_oid.c b/src/lib/gssapi/mechglue/g_inq_cred_oid.c index 288c08044..4c23dfcbd 100644 --- a/src/lib/gssapi/mechglue/g_inq_cred_oid.c +++ b/src/lib/gssapi/mechglue/g_inq_cred_oid.c @@ -20,12 +20,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_inquire_cred_by_oid - */ +/* Glue routine for gss_inquire_cred_by_oid */ #include "mglueP.h" #include <stdio.h> diff --git a/src/lib/gssapi/mechglue/g_inq_name.c b/src/lib/gssapi/mechglue/g_inq_name.c index b2681ead9..915f687af 100644 --- a/src/lib/gssapi/mechglue/g_inq_name.c +++ b/src/lib/gssapi/mechglue/g_inq_name.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_inquire_name - */ +/* Glue routine for gss_inquire_name */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_map_name_to_any.c b/src/lib/gssapi/mechglue/g_map_name_to_any.c index 3ed19e3c4..ebf49450f 100644 --- a/src/lib/gssapi/mechglue/g_map_name_to_any.c +++ b/src/lib/gssapi/mechglue/g_map_name_to_any.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_map_name_to_any - */ +/* Glue routine for gss_map_name_to_any */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_mech_invoke.c b/src/lib/gssapi/mechglue/g_mech_invoke.c index 0b8019f92..cb9412e0e 100644 --- a/src/lib/gssapi/mechglue/g_mech_invoke.c +++ b/src/lib/gssapi/mechglue/g_mech_invoke.c @@ -20,12 +20,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gssspi_mech_invoke - */ +/* Glue routine for gssspi_mech_invoke */ #include "mglueP.h" #ifdef HAVE_STDLIB_H diff --git a/src/lib/gssapi/mechglue/g_mechattr.c b/src/lib/gssapi/mechglue/g_mechattr.c index 5f863e38b..663e02ad4 100644 --- a/src/lib/gssapi/mechglue/g_mechattr.c +++ b/src/lib/gssapi/mechglue/g_mechattr.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/mechglue/g_mechattr.c */ /* - * src/lib/gssapi/mechglue/g_mechattr.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,10 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * - * */ + #include "mglueP.h" static int diff --git a/src/lib/gssapi/mechglue/g_oid_ops.c b/src/lib/gssapi/mechglue/g_oid_ops.c index f87febfb2..9521d9ade 100644 --- a/src/lib/gssapi/mechglue/g_oid_ops.c +++ b/src/lib/gssapi/mechglue/g_oid_ops.c @@ -1,7 +1,6 @@ /* #pragma ident "@(#)g_oid_ops.c 1.11 98/01/22 SMI" */ +/* lib/gssapi/mechglue/g_oid_ops.c - GSSAPI V2 interfaces to manipulate OIDs */ /* - * lib/gssapi/mechglue/g_oid_ops.c - * * Copyright 1995, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,11 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - */ - -/* - * oid_ops.c - GSS-API V2 interfaces to manipulate OIDs */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_prf.c b/src/lib/gssapi/mechglue/g_prf.c index 74a3a21b6..fcca3e44c 100644 --- a/src/lib/gssapi/mechglue/g_prf.c +++ b/src/lib/gssapi/mechglue/g_prf.c @@ -20,12 +20,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_pseudo_random - */ +/* Glue routine for gss_pseudo_random */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_rel_cred.c b/src/lib/gssapi/mechglue/g_rel_cred.c index 2e9a0c75b..50426d9dd 100644 --- a/src/lib/gssapi/mechglue/g_rel_cred.c +++ b/src/lib/gssapi/mechglue/g_rel_cred.c @@ -22,9 +22,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* - * glue routine for gss_release_cred - */ +/* Glue routine for gss_release_cred */ #include "mglueP.h" #include <stdio.h> diff --git a/src/lib/gssapi/mechglue/g_rel_name_mapping.c b/src/lib/gssapi/mechglue/g_rel_name_mapping.c index 9420ae80d..f09136afe 100644 --- a/src/lib/gssapi/mechglue/g_rel_name_mapping.c +++ b/src/lib/gssapi/mechglue/g_rel_name_mapping.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_release_any_name_mapping - */ +/* Glue routine for gss_release_any_name_mapping */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_saslname.c b/src/lib/gssapi/mechglue/g_saslname.c index 4bffdd602..b025d9c93 100644 --- a/src/lib/gssapi/mechglue/g_saslname.c +++ b/src/lib/gssapi/mechglue/g_saslname.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/gssapi/mechglue/g_saslname.c */ /* - * src/lib/gssapi/mechglue/g_saslname.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,10 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * - * */ + #include "mglueP.h" #include <krb5/krb5.h> diff --git a/src/lib/gssapi/mechglue/g_set_context_option.c b/src/lib/gssapi/mechglue/g_set_context_option.c index 6a666dcd5..87db240df 100644 --- a/src/lib/gssapi/mechglue/g_set_context_option.c +++ b/src/lib/gssapi/mechglue/g_set_context_option.c @@ -20,12 +20,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_set_sec_context_option - */ +/* Glue routine for gss_set_sec_context_option */ #include "mglueP.h" #ifdef HAVE_STDLIB_H diff --git a/src/lib/gssapi/mechglue/g_set_cred_option.c b/src/lib/gssapi/mechglue/g_set_cred_option.c index 7bb73ed0b..897c84fe0 100644 --- a/src/lib/gssapi/mechglue/g_set_cred_option.c +++ b/src/lib/gssapi/mechglue/g_set_cred_option.c @@ -20,12 +20,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gssspi_set_cred_option - */ +/* Glue routine for gssspi_set_cred_option */ #include "mglueP.h" #include <stdio.h> diff --git a/src/lib/gssapi/mechglue/g_set_name_attr.c b/src/lib/gssapi/mechglue/g_set_name_attr.c index 1ec72fc27..a479762a7 100644 --- a/src/lib/gssapi/mechglue/g_set_name_attr.c +++ b/src/lib/gssapi/mechglue/g_set_name_attr.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * glue routine for gss_set_name_attribute - */ +/* Glue routine for gss_set_name_attribute */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/g_set_neg_mechs.c b/src/lib/gssapi/mechglue/g_set_neg_mechs.c index 167537675..69cac7037 100644 --- a/src/lib/gssapi/mechglue/g_set_neg_mechs.c +++ b/src/lib/gssapi/mechglue/g_set_neg_mechs.c @@ -1,6 +1,5 @@ +/* lib/gssapi/mechglue/g_set_neg_mechs.c - Glue for gss_set_neg_mechs */ /* - * lib/gssapi/mechglue/g_set_neg_mechs.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -22,9 +21,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * - * Glue routine for gss_set_neg_mechs. */ #include "mglueP.h" diff --git a/src/lib/gssapi/mechglue/mglueP.h b/src/lib/gssapi/mechglue/mglueP.h index 3524ceae4..5edddebaf 100644 --- a/src/lib/gssapi/mechglue/mglueP.h +++ b/src/lib/gssapi/mechglue/mglueP.h @@ -1,12 +1,12 @@ -/* #ident "@(#)mglueP.h 1.2 96/01/18 SMI" */ +/* lib/gssapi/mechglue/mglueP.h */ /* - * This header contains the private mechglue definitions. - * * Copyright (c) 1995, by Sun Microsystems, Inc. * All rights reserved. */ +/* This header contains the private mechglue definitions. */ + #ifndef _GSS_MECHGLUEP_H #define _GSS_MECHGLUEP_H diff --git a/src/lib/gssapi/spnego/spnego_mech.c b/src/lib/gssapi/spnego/spnego_mech.c index 073d7fc97..191c0abca 100644 --- a/src/lib/gssapi/spnego/spnego_mech.c +++ b/src/lib/gssapi/spnego/spnego_mech.c @@ -20,9 +20,7 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ - /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. |
