aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-03-09 21:46:07 +0000
committerGreg Hudson <ghudson@mit.edu>2011-03-09 21:46:07 +0000
commit7da53e2942176c5ddfe007ba0a36f449e9fdb9fb (patch)
tree4881536c48fdeb215e0cbaea18263365330ad9b0
parentfe012b454a193c1f81ab8011ecd620750e5869f0 (diff)
downloadkrb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.zip
krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.gz
krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.bz2
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
-rw-r--r--src/appl/sample/sample.h6
-rw-r--r--src/appl/sample/sclient/sclient.c7
-rw-r--r--src/appl/sample/sserver/sserver.c8
-rw-r--r--src/appl/simple/client/sim_client.c8
-rw-r--r--src/appl/simple/server/sim_server.c8
-rw-r--r--src/appl/simple/simple.h8
-rw-r--r--src/appl/user_user/client.c6
-rw-r--r--src/appl/user_user/server.c6
-rw-r--r--src/ccapi/common/cci_array_internal.c3
-rw-r--r--src/ccapi/common/cci_array_internal.h3
-rw-r--r--src/ccapi/common/cci_common.h3
-rw-r--r--src/ccapi/common/cci_cred_union.c3
-rw-r--r--src/ccapi/common/cci_cred_union.h3
-rw-r--r--src/ccapi/common/cci_debugging.c3
-rw-r--r--src/ccapi/common/cci_debugging.h3
-rw-r--r--src/ccapi/common/cci_identifier.c3
-rw-r--r--src/ccapi/common/cci_identifier.h3
-rw-r--r--src/ccapi/common/cci_message.c3
-rw-r--r--src/ccapi/common/cci_message.h3
-rw-r--r--src/ccapi/common/cci_os_debugging.h3
-rw-r--r--src/ccapi/common/cci_os_identifier.h3
-rw-r--r--src/ccapi/common/cci_types.h3
-rw-r--r--src/ccapi/common/mac/cci_os_debugging.c3
-rw-r--r--src/ccapi/common/mac/cci_os_identifier.c3
-rw-r--r--src/ccapi/common/win/OldCC/ccutils.c3
-rw-r--r--src/ccapi/common/win/OldCC/ccutils.h3
-rw-r--r--src/ccapi/common/win/OldCC/name.h3
-rw-r--r--src/ccapi/common/win/OldCC/util.h3
-rw-r--r--src/ccapi/common/win/cci_os_debugging.c3
-rw-r--r--src/ccapi/common/win/cci_os_identifier.c3
-rw-r--r--src/ccapi/common/win/tls.c3
-rw-r--r--src/ccapi/common/win/tls.h3
-rw-r--r--src/ccapi/common/win/win-utils.c3
-rw-r--r--src/ccapi/common/win/win-utils.h3
-rw-r--r--src/ccapi/lib/ccapi_ccache.c3
-rw-r--r--src/ccapi/lib/ccapi_ccache.h3
-rw-r--r--src/ccapi/lib/ccapi_ccache_iterator.c3
-rw-r--r--src/ccapi/lib/ccapi_ccache_iterator.h3
-rw-r--r--src/ccapi/lib/ccapi_context.c3
-rw-r--r--src/ccapi/lib/ccapi_context.h3
-rw-r--r--src/ccapi/lib/ccapi_context_change_time.c3
-rw-r--r--src/ccapi/lib/ccapi_context_change_time.h3
-rw-r--r--src/ccapi/lib/ccapi_credentials.c3
-rw-r--r--src/ccapi/lib/ccapi_credentials.h3
-rw-r--r--src/ccapi/lib/ccapi_credentials_iterator.c3
-rw-r--r--src/ccapi/lib/ccapi_credentials_iterator.h3
-rw-r--r--src/ccapi/lib/ccapi_ipc.c3
-rw-r--r--src/ccapi/lib/ccapi_ipc.h3
-rw-r--r--src/ccapi/lib/ccapi_os_ipc.h3
-rw-r--r--src/ccapi/lib/ccapi_string.c3
-rw-r--r--src/ccapi/lib/ccapi_string.h3
-rw-r--r--src/ccapi/lib/ccapi_v2.c3
-rw-r--r--src/ccapi/lib/mac/ccapi_os_ipc.c3
-rw-r--r--src/ccapi/lib/mac/ccapi_vector.c3
-rw-r--r--src/ccapi/lib/mac/ccapi_vector.h3
-rw-r--r--src/ccapi/lib/win/OldCC/client.h3
-rw-r--r--src/ccapi/lib/win/ccs_reply_proc.c3
-rw-r--r--src/ccapi/lib/win/dllmain.h3
-rw-r--r--src/ccapi/server/ccs_array.c3
-rw-r--r--src/ccapi/server/ccs_array.h3
-rw-r--r--src/ccapi/server/ccs_cache_collection.c3
-rw-r--r--src/ccapi/server/ccs_cache_collection.h3
-rw-r--r--src/ccapi/server/ccs_callback.c3
-rw-r--r--src/ccapi/server/ccs_callback.h3
-rw-r--r--src/ccapi/server/ccs_ccache.c3
-rw-r--r--src/ccapi/server/ccs_ccache.h3
-rw-r--r--src/ccapi/server/ccs_ccache_iterator.c3
-rw-r--r--src/ccapi/server/ccs_ccache_iterator.h3
-rw-r--r--src/ccapi/server/ccs_client.c3
-rw-r--r--src/ccapi/server/ccs_client.h3
-rw-r--r--src/ccapi/server/ccs_common.h3
-rw-r--r--src/ccapi/server/ccs_credentials.c3
-rw-r--r--src/ccapi/server/ccs_credentials.h3
-rw-r--r--src/ccapi/server/ccs_credentials_iterator.c3
-rw-r--r--src/ccapi/server/ccs_credentials_iterator.h3
-rw-r--r--src/ccapi/server/ccs_list.c3
-rw-r--r--src/ccapi/server/ccs_list.h3
-rw-r--r--src/ccapi/server/ccs_list_internal.c3
-rw-r--r--src/ccapi/server/ccs_list_internal.h3
-rw-r--r--src/ccapi/server/ccs_lock.c3
-rw-r--r--src/ccapi/server/ccs_lock.h3
-rw-r--r--src/ccapi/server/ccs_lock_state.c3
-rw-r--r--src/ccapi/server/ccs_lock_state.h3
-rw-r--r--src/ccapi/server/ccs_os_notify.h3
-rw-r--r--src/ccapi/server/ccs_os_pipe.h3
-rw-r--r--src/ccapi/server/ccs_os_server.h3
-rw-r--r--src/ccapi/server/ccs_pipe.c3
-rw-r--r--src/ccapi/server/ccs_pipe.h3
-rw-r--r--src/ccapi/server/ccs_server.c3
-rw-r--r--src/ccapi/server/ccs_server.h3
-rw-r--r--src/ccapi/server/ccs_types.h3
-rw-r--r--src/ccapi/server/mac/ccs_os_notify.c3
-rw-r--r--src/ccapi/server/mac/ccs_os_pipe.c3
-rw-r--r--src/ccapi/server/mac/ccs_os_server.c3
-rw-r--r--src/ccapi/server/win/WorkQueue.h3
-rw-r--r--src/ccapi/server/win/ccs_os_pipe.c3
-rw-r--r--src/ccapi/server/win/ccs_request_proc.c3
-rw-r--r--src/ccapi/server/win/ccs_win_pipe.c3
-rw-r--r--src/ccapi/server/win/ccs_win_pipe.h3
-rw-r--r--src/clients/kdestroy/kdestroy.c6
-rw-r--r--src/clients/kinit/extern.h6
-rw-r--r--src/clients/kinit/kinit.c6
-rw-r--r--src/clients/kinit/kinit_kdb.c8
-rw-r--r--src/clients/klist/klist.c6
-rw-r--r--src/clients/ksu/setenv.c32
-rw-r--r--src/clients/ksu/xmalloc.c6
-rw-r--r--src/include/CredentialsCache.h3
-rw-r--r--src/include/CredentialsCache2.h3
-rw-r--r--src/include/adm.h5
-rw-r--r--src/include/adm_proto.h5
-rw-r--r--src/include/cm.h3
-rw-r--r--src/include/foreachaddr.h7
-rw-r--r--src/include/gssrpc/auth_gss.h3
-rw-r--r--src/include/gssrpc/auth_gssapi.h6
-rw-r--r--src/include/gssrpc/netdb.h11
-rw-r--r--src/include/gssrpc/rename.h7
-rw-r--r--src/include/k5-buf.h6
-rw-r--r--src/include/k5-err.h7
-rw-r--r--src/include/k5-gmt_mktime.h7
-rw-r--r--src/include/k5-int.h5
-rw-r--r--src/include/k5-ipc_stream.h3
-rw-r--r--src/include/k5-platform.h8
-rw-r--r--src/include/k5-thread.h6
-rw-r--r--src/include/k5-trace.h8
-rw-r--r--src/include/k5-unicode.h9
-rw-r--r--src/include/k5-utf8.h8
-rw-r--r--src/include/kdb.h9
-rw-r--r--src/include/kdb_kt.h7
-rw-r--r--src/include/krb5/authdata_plugin.h5
-rw-r--r--src/include/krb5/kadm5_hook_plugin.h3
-rw-r--r--src/include/krb5/krb5.hin9
-rw-r--r--src/include/krb5/locate_plugin.h6
-rw-r--r--src/include/krb5/plugin.h8
-rw-r--r--src/include/krb5/preauth_plugin.h6
-rw-r--r--src/include/krb5/pwqual_plugin.h7
-rw-r--r--src/include/net-server.h8
-rw-r--r--src/include/osconf.hin8
-rw-r--r--src/include/pkinit_apple_utils.h1
-rw-r--r--src/include/pkinit_asn1.h1
-rw-r--r--src/include/pkinit_cert_store.h1
-rw-r--r--src/include/pkinit_client.h1
-rw-r--r--src/include/pkinit_cms.h1
-rw-r--r--src/kadmin/cli/kadmin.c6
-rw-r--r--src/kadmin/cli/kadmin.h7
-rw-r--r--src/kadmin/cli/ss_wrapper.c3
-rw-r--r--src/kadmin/dbutil/dump.c10
-rw-r--r--src/kadmin/dbutil/kdb5_create.c11
-rw-r--r--src/kadmin/dbutil/kdb5_destroy.c8
-rw-r--r--src/kadmin/dbutil/kdb5_stash.c7
-rw-r--r--src/kadmin/dbutil/kdb5_util.c8
-rw-r--r--src/kadmin/dbutil/kdb5_util.h4
-rw-r--r--src/kadmin/ktutil/ktutil.c5
-rw-r--r--src/kadmin/ktutil/ktutil.h4
-rw-r--r--src/kadmin/ktutil/ktutil_funcs.c7
-rw-r--r--src/kdc/dispatch.c6
-rw-r--r--src/kdc/do_as_req.c3
-rw-r--r--src/kdc/do_tgs_req.c6
-rw-r--r--src/kdc/extern.c7
-rw-r--r--src/kdc/extern.h6
-rw-r--r--src/kdc/fast_util.c3
-rw-r--r--src/kdc/kdc_authdata.c5
-rw-r--r--src/kdc/kdc_preauth.c10
-rw-r--r--src/kdc/kdc_util.c6
-rw-r--r--src/kdc/kdc_util.h3
-rw-r--r--src/kdc/main.c6
-rw-r--r--src/kdc/pkinit_apple_server.c1
-rw-r--r--src/kdc/pkinit_server.h1
-rw-r--r--src/kdc/policy.c6
-rw-r--r--src/kdc/policy.h6
-rw-r--r--src/kdc/replay.c7
-rw-r--r--src/kdc/rtest.c5
-rw-r--r--src/kim/lib/kim_credential.c3
-rw-r--r--src/kim/lib/kim_credential_private.h3
-rw-r--r--src/kim/lib/kim_debug.c3
-rw-r--r--src/kim/lib/kim_debug_private.h3
-rw-r--r--src/kim/lib/kim_error_message.c3
-rw-r--r--src/kim/lib/kim_error_private.h3
-rw-r--r--src/kim/lib/kim_identity.c3
-rw-r--r--src/kim/lib/kim_identity_private.h3
-rw-r--r--src/kim/lib/kim_library.c3
-rw-r--r--src/kim/lib/kim_library_private.h3
-rw-r--r--src/kim/lib/kim_options.c3
-rw-r--r--src/kim/lib/kim_options_private.h3
-rw-r--r--src/kim/lib/kim_preferences.c3
-rw-r--r--src/kim/lib/kim_preferences_private.h3
-rw-r--r--src/kim/lib/kim_private.h3
-rw-r--r--src/kim/lib/kim_selection_hints_private.h3
-rw-r--r--src/kim/lib/kim_string.c3
-rw-r--r--src/kim/lib/kim_string_private.h3
-rw-r--r--src/kim/lib/kim_ui.c3
-rw-r--r--src/kim/lib/kim_ui_cli.c3
-rw-r--r--src/kim/lib/kim_ui_cli_private.h3
-rw-r--r--src/kim/lib/kim_ui_gui_private.h3
-rw-r--r--src/kim/lib/kim_ui_plugin.c3
-rw-r--r--src/kim/lib/kim_ui_plugin_private.h3
-rw-r--r--src/kim/lib/kim_ui_private.h3
-rw-r--r--src/kim/lib/mac/KerberosLogin.c3
-rw-r--r--src/kim/lib/mac/kim_os_debug.c3
-rw-r--r--src/kim/lib/mac/kim_os_identity.c3
-rw-r--r--src/kim/lib/mac/kim_os_library.c3
-rw-r--r--src/kim/lib/mac/kim_os_preferences.c3
-rw-r--r--src/kim/lib/mac/kim_os_private.h3
-rw-r--r--src/kim/lib/mac/kim_os_selection_hints.c3
-rw-r--r--src/kim/lib/mac/kim_os_string.c3
-rw-r--r--src/kim/lib/mac/kim_os_ui_gui.c3
-rw-r--r--src/kim/test/main.c3
-rw-r--r--src/kim/test/test_kim_common.c3
-rw-r--r--src/kim/test/test_kim_common.h3
-rw-r--r--src/kim/test/test_kim_identity.c3
-rw-r--r--src/kim/test/test_kim_identity.h3
-rw-r--r--src/kim/test/test_kim_preferences.c3
-rw-r--r--src/kim/test/test_kim_preferences.h3
-rw-r--r--src/kim/test/test_kim_selection_hints.c3
-rw-r--r--src/kim/test/test_kim_selection_hints.h3
-rw-r--r--src/kim/test/test_ui_plugin.c3
-rw-r--r--src/lib/apputils/daemon.c2
-rw-r--r--src/lib/apputils/net-server.c6
-rw-r--r--src/lib/crypto/builtin/aes/aes.h57
-rw-r--r--src/lib/crypto/builtin/aes/aescpp.h53
-rw-r--r--src/lib/crypto/builtin/aes/aescrypp.c61
-rw-r--r--src/lib/crypto/builtin/aes/aescrypt.c59
-rw-r--r--src/lib/crypto/builtin/aes/aeskey.c59
-rw-r--r--src/lib/crypto/builtin/aes/aeskeypp.c59
-rw-r--r--src/lib/crypto/builtin/aes/aesopt.h49
-rw-r--r--src/lib/crypto/builtin/aes/aestab.c53
-rw-r--r--src/lib/crypto/builtin/aes/uitypes.h59
-rw-r--r--src/lib/crypto/builtin/camellia/camellia.c4
-rw-r--r--src/lib/crypto/builtin/camellia/camellia.h4
-rw-r--r--src/lib/crypto/builtin/des/afsstring2key.c68
-rw-r--r--src/lib/crypto/builtin/des/des_int.h9
-rw-r--r--src/lib/crypto/builtin/des/destest.c10
-rw-r--r--src/lib/crypto/builtin/des/f_cbc.c7
-rw-r--r--src/lib/crypto/builtin/des/f_cksum.c7
-rw-r--r--src/lib/crypto/builtin/des/f_sched.c7
-rw-r--r--src/lib/crypto/builtin/des/f_tables.c7
-rw-r--r--src/lib/crypto/builtin/des/f_tables.h7
-rw-r--r--src/lib/crypto/builtin/des/key_sched.c8
-rw-r--r--src/lib/crypto/builtin/des/string2key.c8
-rw-r--r--src/lib/crypto/builtin/des/t_verify.c20
-rw-r--r--src/lib/crypto/builtin/des/weak_key.c8
-rw-r--r--src/lib/crypto/builtin/enc_provider/aes.c3
-rw-r--r--src/lib/crypto/builtin/enc_provider/camellia.c2
-rw-r--r--src/lib/crypto/builtin/enc_provider/rc4.c4
-rw-r--r--src/lib/crypto/builtin/init.c6
-rw-r--r--src/lib/crypto/builtin/md4/md4.c46
-rw-r--r--src/lib/crypto/builtin/md4/rsa-md4.h49
-rw-r--r--src/lib/crypto/builtin/md5/md5.c46
-rw-r--r--src/lib/crypto/builtin/md5/rsa-md5.h46
-rw-r--r--src/lib/crypto/builtin/pbkdf2.c6
-rw-r--r--src/lib/crypto/builtin/sha2/t_sha256.c2
-rw-r--r--src/lib/crypto/crypto_tests/aes-test.c8
-rw-r--r--src/lib/crypto/crypto_tests/camellia-test.c3
-rw-r--r--src/lib/crypto/crypto_tests/t_cf2.c30
-rw-r--r--src/lib/crypto/crypto_tests/t_cksum.c8
-rw-r--r--src/lib/crypto/crypto_tests/t_cksums.c2
-rw-r--r--src/lib/crypto/crypto_tests/t_cmac.c8
-rw-r--r--src/lib/crypto/crypto_tests/t_crc.c7
-rw-r--r--src/lib/crypto/crypto_tests/t_cts.c7
-rw-r--r--src/lib/crypto/crypto_tests/t_encrypt.c7
-rw-r--r--src/lib/crypto/crypto_tests/t_hmac.c8
-rw-r--r--src/lib/crypto/crypto_tests/t_kperf.c3
-rw-r--r--src/lib/crypto/crypto_tests/t_mdcksum.c8
-rw-r--r--src/lib/crypto/crypto_tests/t_mddriver.c25
-rw-r--r--src/lib/crypto/crypto_tests/t_nfold.c9
-rw-r--r--src/lib/crypto/crypto_tests/t_pkcs5.c8
-rw-r--r--src/lib/crypto/crypto_tests/t_prf.c7
-rw-r--r--src/lib/crypto/crypto_tests/t_prng.c7
-rw-r--r--src/lib/crypto/crypto_tests/t_short.c7
-rw-r--r--src/lib/crypto/crypto_tests/t_str2key.c7
-rw-r--r--src/lib/crypto/crypto_tests/vectors.c8
-rw-r--r--src/lib/crypto/krb/aead.c3
-rw-r--r--src/lib/crypto/krb/cf2.c14
-rw-r--r--src/lib/crypto/krb/checksum_cbc.c9
-rw-r--r--src/lib/crypto/krb/checksum_confounder.c7
-rw-r--r--src/lib/crypto/krb/checksum_dk_cmac.c3
-rw-r--r--src/lib/crypto/krb/checksum_hmac_md5.c7
-rw-r--r--src/lib/crypto/krb/checksum_unkeyed.c5
-rw-r--r--src/lib/crypto/krb/cmac.c3
-rw-r--r--src/lib/crypto/krb/combine_keys.c7
-rw-r--r--src/lib/crypto/krb/crc32.c17
-rw-r--r--src/lib/crypto/krb/crypto_length.c3
-rw-r--r--src/lib/crypto/krb/decrypt_iov.c3
-rw-r--r--src/lib/crypto/krb/enc_dk_cmac.c2
-rw-r--r--src/lib/crypto/krb/enc_dk_hmac.c3
-rw-r--r--src/lib/crypto/krb/enc_old.c3
-rw-r--r--src/lib/crypto/krb/enc_raw.c3
-rw-r--r--src/lib/crypto/krb/encrypt_iov.c3
-rw-r--r--src/lib/crypto/krb/enctype_util.c8
-rw-r--r--src/lib/crypto/krb/keyblocks.c8
-rw-r--r--src/lib/crypto/krb/make_checksum_iov.c3
-rw-r--r--src/lib/crypto/krb/prf.c15
-rw-r--r--src/lib/crypto/krb/prf_cmac.c8
-rw-r--r--src/lib/crypto/krb/prf_des.c8
-rw-r--r--src/lib/crypto/krb/prf_dk.c8
-rw-r--r--src/lib/crypto/krb/prf_rc4.c4
-rw-r--r--src/lib/crypto/krb/prng_fortuna.c2
-rw-r--r--src/lib/crypto/krb/prng_nss.c3
-rw-r--r--src/lib/crypto/krb/prng_os.c2
-rw-r--r--src/lib/crypto/krb/state.c3
-rw-r--r--src/lib/crypto/krb/t_fortuna.c2
-rw-r--r--src/lib/crypto/krb/verify_checksum_iov.c3
-rw-r--r--src/lib/crypto/nss/des/des_oldapis.c4
-rw-r--r--src/lib/crypto/nss/des/string2key.c3
-rw-r--r--src/lib/crypto/nss/enc_provider/aes.c4
-rw-r--r--src/lib/crypto/nss/enc_provider/camellia.c4
-rw-r--r--src/lib/crypto/nss/enc_provider/des.c4
-rw-r--r--src/lib/crypto/nss/enc_provider/des3.c4
-rw-r--r--src/lib/crypto/nss/enc_provider/enc_gen.c4
-rw-r--r--src/lib/crypto/nss/enc_provider/rc4.c4
-rw-r--r--src/lib/crypto/nss/hash_provider/hash_gen.c4
-rw-r--r--src/lib/crypto/nss/hash_provider/hash_gen.h4
-rw-r--r--src/lib/crypto/nss/hash_provider/hash_md5.c4
-rw-r--r--src/lib/crypto/nss/hash_provider/hash_sha1.c4
-rw-r--r--src/lib/crypto/nss/hmac.c4
-rw-r--r--src/lib/crypto/nss/md4/md4.c45
-rw-r--r--src/lib/crypto/nss/md4/rsa-md4.h49
-rw-r--r--src/lib/crypto/nss/nss_gen.h4
-rw-r--r--src/lib/crypto/nss/pbkdf2.c4
-rw-r--r--src/lib/crypto/openssl/des/des_oldapis.c4
-rw-r--r--src/lib/crypto/openssl/des/f_parity.c3
-rw-r--r--src/lib/crypto/openssl/des/string2key.c3
-rw-r--r--src/lib/crypto/openssl/enc_provider/aes.c3
-rw-r--r--src/lib/crypto/openssl/enc_provider/camellia.c3
-rw-r--r--src/lib/crypto/openssl/enc_provider/des.c4
-rw-r--r--src/lib/crypto/openssl/enc_provider/des3.c4
-rw-r--r--src/lib/crypto/openssl/enc_provider/rc4.c9
-rw-r--r--src/lib/crypto/openssl/hash_provider/hash_sha1.c4
-rw-r--r--src/lib/crypto/openssl/hmac.c4
-rw-r--r--src/lib/crypto/openssl/init.c6
-rw-r--r--src/lib/crypto/openssl/pbkdf2.c7
-rw-r--r--src/lib/gssapi/generic/gssapi_ext.h1
-rw-r--r--src/lib/gssapi/generic/oid_ops.c48
-rw-r--r--src/lib/gssapi/generic/utl_nohash_validate.c5
-rw-r--r--src/lib/gssapi/krb5/accept_sec_context.c1
-rw-r--r--src/lib/gssapi/krb5/acquire_cred.c1
-rw-r--r--src/lib/gssapi/krb5/canon_name.c4
-rw-r--r--src/lib/gssapi/krb5/duplicate_name.c4
-rw-r--r--src/lib/gssapi/krb5/export_name.c4
-rw-r--r--src/lib/gssapi/krb5/export_sec_context.c7
-rw-r--r--src/lib/gssapi/krb5/iakerb.c4
-rw-r--r--src/lib/gssapi/krb5/import_sec_context.c7
-rw-r--r--src/lib/gssapi/krb5/init_sec_context.c5
-rw-r--r--src/lib/gssapi/krb5/inq_cred.c1
-rw-r--r--src/lib/gssapi/krb5/inq_names.c7
-rw-r--r--src/lib/gssapi/krb5/k5sealiov.c5
-rw-r--r--src/lib/gssapi/krb5/k5sealv3.c6
-rw-r--r--src/lib/gssapi/krb5/k5sealv3iov.c5
-rw-r--r--src/lib/gssapi/krb5/k5unsealiov.c5
-rw-r--r--src/lib/gssapi/krb5/lucid_context.c10
-rw-r--r--src/lib/gssapi/krb5/naming_exts.c5
-rw-r--r--src/lib/gssapi/krb5/prf.c5
-rw-r--r--src/lib/gssapi/krb5/rel_oid.c7
-rw-r--r--src/lib/gssapi/krb5/s4u_gss_glue.c1
-rw-r--r--src/lib/gssapi/krb5/ser_sctx.c7
-rw-r--r--src/lib/gssapi/krb5/set_allowable_enctypes.c7
-rw-r--r--src/lib/gssapi/krb5/set_ccache.c7
-rw-r--r--src/lib/gssapi/krb5/store_cred.c5
-rw-r--r--src/lib/gssapi/krb5/val_cred.c7
-rw-r--r--src/lib/gssapi/krb5/wrap_size_limit.c1
-rw-r--r--src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c5
-rw-r--r--src/lib/gssapi/mechglue/g_buffer_set.c1
-rw-r--r--src/lib/gssapi/mechglue/g_del_name_attr.c5
-rw-r--r--src/lib/gssapi/mechglue/g_get_name_attr.c5
-rw-r--r--src/lib/gssapi/mechglue/g_inq_context_oid.c5
-rw-r--r--src/lib/gssapi/mechglue/g_inq_cred_oid.c5
-rw-r--r--src/lib/gssapi/mechglue/g_inq_name.c5
-rw-r--r--src/lib/gssapi/mechglue/g_map_name_to_any.c5
-rw-r--r--src/lib/gssapi/mechglue/g_mech_invoke.c5
-rw-r--r--src/lib/gssapi/mechglue/g_mechattr.c7
-rw-r--r--src/lib/gssapi/mechglue/g_oid_ops.c8
-rw-r--r--src/lib/gssapi/mechglue/g_prf.c5
-rw-r--r--src/lib/gssapi/mechglue/g_rel_cred.c4
-rw-r--r--src/lib/gssapi/mechglue/g_rel_name_mapping.c5
-rw-r--r--src/lib/gssapi/mechglue/g_saslname.c7
-rw-r--r--src/lib/gssapi/mechglue/g_set_context_option.c5
-rw-r--r--src/lib/gssapi/mechglue/g_set_cred_option.c5
-rw-r--r--src/lib/gssapi/mechglue/g_set_name_attr.c5
-rw-r--r--src/lib/gssapi/mechglue/g_set_neg_mechs.c6
-rw-r--r--src/lib/gssapi/mechglue/mglueP.h6
-rw-r--r--src/lib/gssapi/spnego/spnego_mech.c2
-rw-r--r--src/lib/kadm5/admin.h4
-rw-r--r--src/lib/kadm5/alt_prof.c8
-rw-r--r--src/lib/kadm5/logger.c4
-rw-r--r--src/lib/kadm5/srv/kadm5_hook.c3
-rw-r--r--src/lib/kadm5/srv/pwqual.c7
-rw-r--r--src/lib/kadm5/srv/pwqual_dict.c14
-rw-r--r--src/lib/kadm5/srv/pwqual_empty.c8
-rw-r--r--src/lib/kadm5/srv/pwqual_hesiod.c8
-rw-r--r--src/lib/kadm5/srv/pwqual_princ.c8
-rw-r--r--src/lib/kadm5/srv/server_acl.c7
-rw-r--r--src/lib/kadm5/srv/server_acl.h4
-rw-r--r--src/lib/kadm5/srv/server_misc.c7
-rw-r--r--src/lib/kadm5/str_conv.c8
-rw-r--r--src/lib/kdb/decrypt_key.c7
-rw-r--r--src/lib/kdb/encrypt_key.c7
-rw-r--r--src/lib/kdb/kdb5int.h6
-rw-r--r--src/lib/kdb/kdb_convert.c3
-rw-r--r--src/lib/kdb/kdb_cpw.c5
-rw-r--r--src/lib/kdb/kdb_default.c5
-rw-r--r--src/lib/kdb/keytab.c5
-rw-r--r--src/lib/krb5/asn.1/asn1_decode.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_decode.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_encode.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_encode.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_get.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_get.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode_fast.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode_kdc.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode_macros.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode_sam.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_encode.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_k_encode.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_make.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_make.h3
-rw-r--r--src/lib/krb5/asn.1/asn1_misc.c3
-rw-r--r--src/lib/krb5/asn.1/asn1_misc.h3
-rw-r--r--src/lib/krb5/asn.1/asn1glue.h7
-rw-r--r--src/lib/krb5/asn.1/krb5_decode.c3
-rw-r--r--src/lib/krb5/asn.1/krb5_decode_kdc.c3
-rw-r--r--src/lib/krb5/asn.1/krb5_decode_macros.h3
-rw-r--r--src/lib/krb5/asn.1/krb5_encode.c3
-rw-r--r--src/lib/krb5/ccache/cc-int.h10
-rw-r--r--src/lib/krb5/ccache/cc_file.c6
-rw-r--r--src/lib/krb5/ccache/cc_keyring.c8
-rw-r--r--src/lib/krb5/ccache/cc_memory.c11
-rw-r--r--src/lib/krb5/ccache/cc_mslsa.c3
-rw-r--r--src/lib/krb5/ccache/cc_retr.c5
-rw-r--r--src/lib/krb5/ccache/ccapi/stdcc.c17
-rw-r--r--src/lib/krb5/ccache/ccbase.c6
-rw-r--r--src/lib/krb5/ccache/cccursor.c7
-rw-r--r--src/lib/krb5/ccache/ccdefault.c6
-rw-r--r--src/lib/krb5/ccache/ccdefops.c10
-rw-r--r--src/lib/krb5/ccache/ccfns.c3
-rw-r--r--src/lib/krb5/ccache/fcc.h7
-rw-r--r--src/lib/krb5/ccache/scc.h7
-rw-r--r--src/lib/krb5/ccache/ser_cc.c7
-rw-r--r--src/lib/krb5/ccache/t_cc.c6
-rw-r--r--src/lib/krb5/ccache/t_cccursor.c4
-rw-r--r--src/lib/krb5/ccache/t_memory.c6
-rw-r--r--src/lib/krb5/ccache/t_stdio.c6
-rw-r--r--src/lib/krb5/error_tables/init_ets.c6
-rw-r--r--src/lib/krb5/keytab/kt-int.h7
-rw-r--r--src/lib/krb5/keytab/kt_file.c60
-rw-r--r--src/lib/krb5/keytab/kt_memory.c3
-rw-r--r--src/lib/krb5/keytab/kt_srvtab.c64
-rw-r--r--src/lib/krb5/keytab/ktadd.c6
-rw-r--r--src/lib/krb5/keytab/ktbase.c9
-rw-r--r--src/lib/krb5/keytab/ktdefault.c7
-rw-r--r--src/lib/krb5/keytab/ktfns.c3
-rw-r--r--src/lib/krb5/keytab/ktfr_entry.c7
-rw-r--r--src/lib/krb5/keytab/ktremove.c7
-rw-r--r--src/lib/krb5/keytab/read_servi.c8
-rw-r--r--src/lib/krb5/keytab/t_keytab.c8
-rw-r--r--src/lib/krb5/krb/addr_comp.c6
-rw-r--r--src/lib/krb5/krb/addr_order.c6
-rw-r--r--src/lib/krb5/krb/addr_srch.c6
-rw-r--r--src/lib/krb5/krb/allow_weak.c6
-rw-r--r--src/lib/krb5/krb/auth_con.c5
-rw-r--r--src/lib/krb5/krb/authdata.h7
-rw-r--r--src/lib/krb5/krb/authdata_dec.c7
-rw-r--r--src/lib/krb5/krb/authdata_enc.c7
-rw-r--r--src/lib/krb5/krb/bld_pr_ext.c7
-rw-r--r--src/lib/krb5/krb/bld_princ.c6
-rw-r--r--src/lib/krb5/krb/brand.c3
-rw-r--r--src/lib/krb5/krb/chk_trans.c7
-rw-r--r--src/lib/krb5/krb/conv_princ.c7
-rw-r--r--src/lib/krb5/krb/copy_addrs.c6
-rw-r--r--src/lib/krb5/krb/copy_athctr.c7
-rw-r--r--src/lib/krb5/krb/copy_auth.c6
-rw-r--r--src/lib/krb5/krb/copy_cksum.c6
-rw-r--r--src/lib/krb5/krb/copy_creds.c6
-rw-r--r--src/lib/krb5/krb/copy_ctx.c6
-rw-r--r--src/lib/krb5/krb/copy_data.c7
-rw-r--r--src/lib/krb5/krb/copy_key.c13
-rw-r--r--src/lib/krb5/krb/copy_princ.c6
-rw-r--r--src/lib/krb5/krb/copy_tick.c6
-rw-r--r--src/lib/krb5/krb/cp_key_cnt.c6
-rw-r--r--src/lib/krb5/krb/decode_kdc.c6
-rw-r--r--src/lib/krb5/krb/decrypt_tk.c6
-rw-r--r--src/lib/krb5/krb/deltat.c7
-rw-r--r--src/lib/krb5/krb/enc_helper.c6
-rw-r--r--src/lib/krb5/krb/enc_keyhelper.c3
-rw-r--r--src/lib/krb5/krb/encode_kdc.c6
-rw-r--r--src/lib/krb5/krb/encrypt_tk.c6
-rw-r--r--src/lib/krb5/krb/etype_list.c7
-rw-r--r--src/lib/krb5/krb/fast.c6
-rw-r--r--src/lib/krb5/krb/fast.h6
-rw-r--r--src/lib/krb5/krb/fwd_tgt.c3
-rw-r--r--src/lib/krb5/krb/gc_via_tkt.c8
-rw-r--r--src/lib/krb5/krb/gen_save_subkey.c6
-rw-r--r--src/lib/krb5/krb/gen_seqnum.c8
-rw-r--r--src/lib/krb5/krb/gen_subkey.c6
-rw-r--r--src/lib/krb5/krb/get_creds.c31
-rw-r--r--src/lib/krb5/krb/get_in_tkt.c5
-rw-r--r--src/lib/krb5/krb/gic_keytab.c3
-rw-r--r--src/lib/krb5/krb/in_tkt_sky.c7
-rw-r--r--src/lib/krb5/krb/init_ctx.c6
-rw-r--r--src/lib/krb5/krb/init_keyblock.c11
-rw-r--r--src/lib/krb5/krb/int-proto.h7
-rw-r--r--src/lib/krb5/krb/kdc_rep_dc.c6
-rw-r--r--src/lib/krb5/krb/kerrs.c6
-rw-r--r--src/lib/krb5/krb/kfree.c6
-rw-r--r--src/lib/krb5/krb/libdef_parse.c7
-rw-r--r--src/lib/krb5/krb/mk_error.c6
-rw-r--r--src/lib/krb5/krb/mk_priv.c6
-rw-r--r--src/lib/krb5/krb/mk_rep.c6
-rw-r--r--src/lib/krb5/krb/mk_req.c6
-rw-r--r--src/lib/krb5/krb/mk_req_ext.c7
-rw-r--r--src/lib/krb5/krb/mk_safe.c6
-rw-r--r--src/lib/krb5/krb/pac.c4
-rw-r--r--src/lib/krb5/krb/pac_sign.c5
-rw-r--r--src/lib/krb5/krb/parse.c8
-rw-r--r--src/lib/krb5/krb/pkinit_apple_asn1.c4
-rw-r--r--src/lib/krb5/krb/pkinit_apple_cert_store.c1
-rw-r--r--src/lib/krb5/krb/pkinit_apple_client.c1
-rw-r--r--src/lib/krb5/krb/pkinit_apple_cms.c1
-rw-r--r--src/lib/krb5/krb/plugin.c6
-rw-r--r--src/lib/krb5/krb/pr_to_salt.c6
-rw-r--r--src/lib/krb5/krb/princ_comp.c7
-rw-r--r--src/lib/krb5/krb/rd_error.c16
-rw-r--r--src/lib/krb5/krb/rd_priv.c6
-rw-r--r--src/lib/krb5/krb/rd_rep.c6
-rw-r--r--src/lib/krb5/krb/rd_req.c6
-rw-r--r--src/lib/krb5/krb/rd_req_dec.c3
-rw-r--r--src/lib/krb5/krb/rd_safe.c6
-rw-r--r--src/lib/krb5/krb/recvauth.c7
-rw-r--r--src/lib/krb5/krb/s4u_creds.c6
-rw-r--r--src/lib/krb5/krb/send_tgs.c6
-rw-r--r--src/lib/krb5/krb/sendauth.c7
-rw-r--r--src/lib/krb5/krb/ser_actx.c7
-rw-r--r--src/lib/krb5/krb/ser_adata.c7
-rw-r--r--src/lib/krb5/krb/ser_addr.c7
-rw-r--r--src/lib/krb5/krb/ser_auth.c8
-rw-r--r--src/lib/krb5/krb/ser_cksum.c7
-rw-r--r--src/lib/krb5/krb/ser_ctx.c8
-rw-r--r--src/lib/krb5/krb/ser_eblk.c4
-rw-r--r--src/lib/krb5/krb/ser_key.c7
-rw-r--r--src/lib/krb5/krb/ser_princ.c7
-rw-r--r--src/lib/krb5/krb/serialize.c7
-rw-r--r--src/lib/krb5/krb/set_realm.c3
-rw-r--r--src/lib/krb5/krb/srv_dec_tkt.c8
-rw-r--r--src/lib/krb5/krb/srv_rcache.c6
-rw-r--r--src/lib/krb5/krb/str_conv.c8
-rw-r--r--src/lib/krb5/krb/strptime.c5
-rw-r--r--src/lib/krb5/krb/t_authdata.c7
-rw-r--r--src/lib/krb5/krb/t_deltat.c4
-rw-r--r--src/lib/krb5/krb/t_etypes.c3
-rw-r--r--src/lib/krb5/krb/t_expire_warn.c6
-rw-r--r--src/lib/krb5/krb/t_princ.c3
-rw-r--r--src/lib/krb5/krb/t_ser.c7
-rw-r--r--src/lib/krb5/krb/tgtname.c6
-rw-r--r--src/lib/krb5/krb/unparse.c8
-rw-r--r--src/lib/krb5/krb/val_renew.c8
-rw-r--r--src/lib/krb5/krb/valid_times.c6
-rw-r--r--src/lib/krb5/krb/walk_rtree.c7
-rw-r--r--src/lib/krb5/os/accessor.c4
-rw-r--r--src/lib/krb5/os/an_to_ln.c6
-rw-r--r--src/lib/krb5/os/c_ustime.c6
-rw-r--r--src/lib/krb5/os/ccdefname.c6
-rw-r--r--src/lib/krb5/os/changepw.c8
-rw-r--r--src/lib/krb5/os/def_realm.c8
-rw-r--r--src/lib/krb5/os/dnsglue.c5
-rw-r--r--src/lib/krb5/os/dnsglue.h7
-rw-r--r--src/lib/krb5/os/dnssrv.c6
-rw-r--r--src/lib/krb5/os/free_krbhs.c11
-rw-r--r--src/lib/krb5/os/full_ipadr.c6
-rw-r--r--src/lib/krb5/os/gen_port.c6
-rw-r--r--src/lib/krb5/os/gen_rname.c10
-rw-r--r--src/lib/krb5/os/genaddrs.c6
-rw-r--r--src/lib/krb5/os/get_krbhst.c6
-rw-r--r--src/lib/krb5/os/hostaddr.c9
-rw-r--r--src/lib/krb5/os/hst_realm.c21
-rw-r--r--src/lib/krb5/os/init_os_ctx.c5
-rw-r--r--src/lib/krb5/os/krbfileio.c3
-rw-r--r--src/lib/krb5/os/ktdefname.c6
-rw-r--r--src/lib/krb5/os/kuserok.c6
-rw-r--r--src/lib/krb5/os/localaddr.c12
-rw-r--r--src/lib/krb5/os/locate_kdc.c10
-rw-r--r--src/lib/krb5/os/lock_file.c6
-rw-r--r--src/lib/krb5/os/mk_faddr.c9
-rw-r--r--src/lib/krb5/os/net_read.c4
-rw-r--r--src/lib/krb5/os/net_write.c8
-rw-r--r--src/lib/krb5/os/os-proto.h7
-rw-r--r--src/lib/krb5/os/osconfig.c8
-rw-r--r--src/lib/krb5/os/port2ip.c6
-rw-r--r--src/lib/krb5/os/read_msg.c6
-rw-r--r--src/lib/krb5/os/read_pwd.c6
-rw-r--r--src/lib/krb5/os/realm_dom.c7
-rw-r--r--src/lib/krb5/os/realm_iter.c5
-rw-r--r--src/lib/krb5/os/sendto_kdc.c10
-rw-r--r--src/lib/krb5/os/sn2princ.c10
-rw-r--r--src/lib/krb5/os/t_kuserok.c6
-rw-r--r--src/lib/krb5/os/thread_safe.c6
-rw-r--r--src/lib/krb5/os/timeofday.c7
-rw-r--r--src/lib/krb5/os/toffset.c5
-rw-r--r--src/lib/krb5/os/trace.c8
-rw-r--r--src/lib/krb5/os/unlck_file.c6
-rw-r--r--src/lib/krb5/os/ustime.c7
-rw-r--r--src/lib/krb5/os/write_msg.c21
-rw-r--r--src/lib/krb5/rcache/rc-int.h10
-rw-r--r--src/lib/krb5/rcache/rc_base.c3
-rw-r--r--src/lib/krb5/rcache/rc_base.h3
-rw-r--r--src/lib/krb5/rcache/rc_conv.c3
-rw-r--r--src/lib/krb5/rcache/rc_dfl.c3
-rw-r--r--src/lib/krb5/rcache/rc_dfl.h3
-rw-r--r--src/lib/krb5/rcache/rc_io.c3
-rw-r--r--src/lib/krb5/rcache/rc_io.h3
-rw-r--r--src/lib/krb5/rcache/rc_none.c7
-rw-r--r--src/lib/krb5/rcache/rcdef.c6
-rw-r--r--src/lib/krb5/rcache/rcfns.c3
-rw-r--r--src/lib/krb5/rcache/ser_rc.c7
-rw-r--r--src/lib/krb5/rcache/t_replay.c6
-rw-r--r--src/lib/krb5/unicode/ucdata/ucdata.c11
-rw-r--r--src/lib/krb5/unicode/ucdata/ucdata.h11
-rw-r--r--src/lib/krb5/unicode/ucdata/ucgendat.c11
-rw-r--r--src/lib/krb5/unicode/ucdata/ucpgba.c11
-rw-r--r--src/lib/krb5/unicode/ucdata/ucpgba.h11
-rw-r--r--src/lib/krb5/unicode/ucstr.c11
-rw-r--r--src/lib/krb5/unicode/ure/ure.c11
-rw-r--r--src/lib/krb5/unicode/ure/ure.h11
-rw-r--r--src/lib/krb5/unicode/ure/urestubs.c11
-rw-r--r--src/lib/krb5/unicode/utbm/utbm.c11
-rw-r--r--src/lib/krb5/unicode/utbm/utbm.h11
-rw-r--r--src/lib/krb5/unicode/utbm/utbmstub.c11
-rw-r--r--src/lib/rpc/auth_gss.c7
-rw-r--r--src/lib/rpc/authgss_prot.c3
-rw-r--r--src/lib/rpc/bindresvport.c4
-rw-r--r--src/lib/rpc/getrpcent.c6
-rw-r--r--src/lib/rpc/getrpcport.c5
-rw-r--r--src/lib/rpc/gssrpcint.h6
-rw-r--r--src/lib/rpc/svc_auth.c4
-rw-r--r--src/lib/rpc/svc_auth_gss.c3
-rw-r--r--src/lib/rpc/svc_auth_none.c3
-rw-r--r--src/lib/rpc/svc_run.c6
-rw-r--r--src/lib/rpc/xdr_alloc.c7
-rw-r--r--src/patchlevel.h3
-rw-r--r--src/plugins/authdata/greet/greet_auth.c7
-rw-r--r--src/plugins/authdata/greet_client/greet.c6
-rw-r--r--src/plugins/authdata/greet_server/greet_auth.c7
-rw-r--r--src/plugins/kadm5_hook/test/main.c5
-rw-r--r--src/plugins/kdb/db2/kdb_db2.c2
-rw-r--r--src/plugins/kdb/db2/kdb_db2.h7
-rw-r--r--src/plugins/kdb/db2/kdb_xdr.c4
-rw-r--r--src/plugins/kdb/db2/lockout.c6
-rw-r--r--src/plugins/kdb/hdb/kdb_hdb.c4
-rw-r--r--src/plugins/kdb/hdb/kdb_hdb.h4
-rw-r--r--src/plugins/kdb/hdb/kdb_marshal.c4
-rw-r--r--src/plugins/kdb/hdb/kdb_windc.c4
-rw-r--r--src/plugins/kdb/ldap/ldap_exp.c3
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c3
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h5
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c8
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h5
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c4
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_services.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_services.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h3
-rw-r--r--src/plugins/kdb/ldap/libkdb_ldap/lockout.c6
-rw-r--r--src/plugins/locate/python/py-locate.c3
-rw-r--r--src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c8
-rw-r--r--src/plugins/preauth/pkinit/pkcs11.h2
-rw-r--r--src/plugins/preauth/securid_sam2/extern.h7
-rw-r--r--src/plugins/preauth/securid_sam2/securid2.c8
-rw-r--r--src/plugins/preauth/securid_sam2/securid_sam2_main.c7
-rw-r--r--src/slave/kprop.c6
-rw-r--r--src/slave/kprop.h5
-rw-r--r--src/slave/kprop_sock.c8
-rw-r--r--src/slave/kpropd.c3
-rw-r--r--src/slave/kpropd_rpc.c5
-rw-r--r--src/tests/asn.1/debug.h25
-rw-r--r--src/tests/asn.1/krb5_decode_leak.c25
-rw-r--r--src/tests/asn.1/krb5_decode_test.c25
-rw-r--r--src/tests/asn.1/krb5_encode_test.c25
-rw-r--r--src/tests/asn.1/ktest.c25
-rw-r--r--src/tests/asn.1/ktest.h25
-rw-r--r--src/tests/asn.1/ktest_equal.c25
-rw-r--r--src/tests/asn.1/ktest_equal.h25
-rw-r--r--src/tests/asn.1/t_trval.c1
-rw-r--r--src/tests/asn.1/trval.c4
-rw-r--r--src/tests/asn.1/utility.c25
-rw-r--r--src/tests/asn.1/utility.h25
-rw-r--r--src/tests/create/kdb5_mkdums.c7
-rw-r--r--src/tests/dejagnu/t_inetd.c9
-rw-r--r--src/tests/dump.c8
-rw-r--r--src/tests/gssapi/t_accname.c1
-rw-r--r--src/tests/gssapi/t_gssexts.c1
-rw-r--r--src/tests/gssapi/t_namingexts.c1
-rw-r--r--src/tests/gssapi/t_s4u.c1
-rw-r--r--src/tests/gssapi/t_saslname.c1
-rw-r--r--src/tests/hammer/kdc5_hammer.c6
-rw-r--r--src/tests/hammer/pp.c4
-rw-r--r--src/tests/misc/test_getpw.c25
-rw-r--r--src/tests/misc/test_getsockname.c25
-rw-r--r--src/tests/mkeystash_compat/bigendian.c6
-rw-r--r--src/tests/resolve/addrinfo-test.c9
-rw-r--r--src/tests/resolve/resolve.c8
-rw-r--r--src/tests/shlib/t_loader.c26
-rw-r--r--src/tests/test1.c6
-rw-r--r--src/tests/threads/gss-perf.c8
-rw-r--r--src/tests/threads/init_ctx.c8
-rw-r--r--src/tests/threads/prof1.c25
-rw-r--r--src/tests/threads/profread.c8
-rw-r--r--src/tests/threads/t_rcache.c7
-rw-r--r--src/tests/verify/kdb5_verify.c6
-rw-r--r--src/tests/verify/pkey.c3
-rw-r--r--src/util/et/com_err.h4
-rw-r--r--src/util/et/compile_et.c12
-rw-r--r--src/util/exitsleep.c7
-rw-r--r--src/util/mac/k5_mig_client.c3
-rw-r--r--src/util/mac/k5_mig_client.h3
-rw-r--r--src/util/mac/k5_mig_server.c3
-rw-r--r--src/util/mac/k5_mig_server.h3
-rw-r--r--src/util/profile/argv_parse.c24
-rw-r--r--src/util/profile/argv_parse.h38
-rw-r--r--src/util/ss/listen.c5
-rw-r--r--src/util/ss/mk_cmds.c5
-rw-r--r--src/util/ss/pager.c4
-rw-r--r--src/util/ss/prompt.c5
-rw-r--r--src/util/ss/requests.c3
-rw-r--r--src/util/support/ipc_stream.c3
-rw-r--r--src/util/support/k5buf-int.h8
-rw-r--r--src/util/support/k5buf.c7
-rw-r--r--src/util/support/plugins.c6
-rw-r--r--src/util/support/printf.c12
-rw-r--r--src/util/support/strlcpy.c7
-rw-r--r--src/util/support/supp-int.h7
-rw-r--r--src/util/support/t_k5buf.c6
-rw-r--r--src/util/support/threads.c10
-rw-r--r--src/util/support/utf8.c9
-rw-r--r--src/util/support/utf8_conv.c10
-rw-r--r--src/util/support/zap.c8
-rw-r--r--src/wconfig.c8
-rw-r--r--src/windows/cns/cns.c11
-rw-r--r--src/windows/cns/tktlist.c7
-rw-r--r--src/windows/cns/tktlist.h7
-rw-r--r--src/windows/lib/cacheapi.h3
-rw-r--r--src/windows/lib/vardlg.c9
-rw-r--r--src/windows/ms2mit/mit2ms.c6
-rw-r--r--src/windows/ms2mit/ms2mit.c6
-rw-r--r--src/windows/winlevel.h3
770 files changed, 2227 insertions, 3179 deletions
diff --git a/src/appl/sample/sample.h b/src/appl/sample/sample.h
index be6ef18..2fda2f4 100644
--- a/src/appl/sample/sample.h
+++ b/src/appl/sample/sample.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/sample/sample.h - Common declarations for sample client/server */
/*
- * appl/sample/sample.h
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Common definitions for the sample client/server.
*/
#ifndef KRB5_SAMPLE__
diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c
index cf5a39f..eb868d2 100644
--- a/src/appl/sample/sclient/sclient.c
+++ b/src/appl/sample/sclient/sclient.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/sample/sclient/sclient.c */
/*
- * appl/sample/sclient/sclient.c
- *
* Copyright 1990,1991 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.
- *
+ */
+
+/*
*
* Sample Kerberos v5 client.
*
diff --git a/src/appl/sample/sserver/sserver.c b/src/appl/sample/sserver/sserver.c
index bdd69a8..ffbd883 100644
--- a/src/appl/sample/sserver/sserver.c
+++ b/src/appl/sample/sserver/sserver.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/sample/sserver/sserver.c */
/*
- * appl/sample/sserver/sserver.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Sample Kerberos v5 server.
*
* sample_server:
diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c
index 57e4988..835d85f 100644
--- a/src/appl/simple/client/sim_client.c
+++ b/src/appl/simple/client/sim_client.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/simple/client/sim_client.c */
/*
- * appl/simple/client/sim_client.c
- *
* Copyright 1989,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Simple UDP-based sample client program. For demonstration.
* This program performs no useful function.
*/
diff --git a/src/appl/simple/server/sim_server.c b/src/appl/simple/server/sim_server.c
index 07cb01d..0f8d106 100644
--- a/src/appl/simple/server/sim_server.c
+++ b/src/appl/simple/server/sim_server.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/simple/server/sim_server.c */
/*
- * appl/simple/server/sim_server.c
- *
* Copyright 1989,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Usage:
* sample_server servername
*
diff --git a/src/appl/simple/simple.h b/src/appl/simple/simple.h
index 8d8f176..2de17d3 100644
--- a/src/appl/simple/simple.h
+++ b/src/appl/simple/simple.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/simple/simple.h */
/*
- * appl/simple/simple.h
- *
* Copyright 1988,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Common definitions for the simple UDP-based Kerberos-mediated
* server & client applications.
*/
diff --git a/src/appl/user_user/client.c b/src/appl/user_user/client.c
index 891eb9f..ed25164 100644
--- a/src/appl/user_user/client.c
+++ b/src/appl/user_user/client.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/user_user/client.c - Other end of user-user client/server pair */
/*
- * appl/user_user/client.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Other end of user-user client/server pair.
*/
#include <sys/types.h>
diff --git a/src/appl/user_user/server.c b/src/appl/user_user/server.c
index 299c2ac..3c844d8 100644
--- a/src/appl/user_user/server.c
+++ b/src/appl/user_user/server.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/user_user/server.c - One end of user-user client-server pair */
/*
- * appl/user_user/server.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * One end of the user-user client-server pair.
*/
#include <sys/types.h>
diff --git a/src/ccapi/common/cci_array_internal.c b/src/ccapi/common/cci_array_internal.c
index 6e8bf21..7a205d7 100644
--- a/src/ccapi/common/cci_array_internal.c
+++ b/src/ccapi/common/cci_array_internal.c
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_array_internal.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_array_internal.h b/src/ccapi/common/cci_array_internal.h
index af7c24b..364de76 100644
--- a/src/ccapi/common/cci_array_internal.h
+++ b/src/ccapi/common/cci_array_internal.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_array_internal.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_common.h b/src/ccapi/common/cci_common.h
index c1a5d08..ec9d10b 100644
--- a/src/ccapi/common/cci_common.h
+++ b/src/ccapi/common/cci_common.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_common.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_cred_union.c b/src/ccapi/common/cci_cred_union.c
index a2f8ca8..4c89816 100644
--- a/src/ccapi/common/cci_cred_union.c
+++ b/src/ccapi/common/cci_cred_union.c
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_cred_union.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_cred_union.h b/src/ccapi/common/cci_cred_union.h
index 44dd634..2e40476 100644
--- a/src/ccapi/common/cci_cred_union.h
+++ b/src/ccapi/common/cci_cred_union.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_cred_union.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_debugging.c b/src/ccapi/common/cci_debugging.c
index d6b9c62..42d8a77 100644
--- a/src/ccapi/common/cci_debugging.c
+++ b/src/ccapi/common/cci_debugging.c
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_debugging.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_debugging.h b/src/ccapi/common/cci_debugging.h
index aa2f149..64413e2 100644
--- a/src/ccapi/common/cci_debugging.h
+++ b/src/ccapi/common/cci_debugging.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_debugging.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_identifier.c b/src/ccapi/common/cci_identifier.c
index f1cc0cf..a672c18 100644
--- a/src/ccapi/common/cci_identifier.c
+++ b/src/ccapi/common/cci_identifier.c
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_identifier.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_identifier.h b/src/ccapi/common/cci_identifier.h
index 2c7ea20..d5e1da4 100644
--- a/src/ccapi/common/cci_identifier.h
+++ b/src/ccapi/common/cci_identifier.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_identifier.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_message.c b/src/ccapi/common/cci_message.c
index af1f961..3f61075 100644
--- a/src/ccapi/common/cci_message.c
+++ b/src/ccapi/common/cci_message.c
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_message.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_message.h b/src/ccapi/common/cci_message.h
index 01085ac..6babb56 100644
--- a/src/ccapi/common/cci_message.h
+++ b/src/ccapi/common/cci_message.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_message.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_os_debugging.h b/src/ccapi/common/cci_os_debugging.h
index b2a74e1..c99c79a 100644
--- a/src/ccapi/common/cci_os_debugging.h
+++ b/src/ccapi/common/cci_os_debugging.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_os_debugging.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_os_identifier.h b/src/ccapi/common/cci_os_identifier.h
index 3112902..7ee67eb 100644
--- a/src/ccapi/common/cci_os_identifier.h
+++ b/src/ccapi/common/cci_os_identifier.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_os_identifier.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/cci_types.h b/src/ccapi/common/cci_types.h
index c304633..87597d4 100644
--- a/src/ccapi/common/cci_types.h
+++ b/src/ccapi/common/cci_types.h
@@ -1,6 +1,5 @@
+/* ccapi/common/cci_types.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/mac/cci_os_debugging.c b/src/ccapi/common/mac/cci_os_debugging.c
index 02f0632..e528045 100644
--- a/src/ccapi/common/mac/cci_os_debugging.c
+++ b/src/ccapi/common/mac/cci_os_debugging.c
@@ -1,6 +1,5 @@
+/* ccapi/common/mac/cci_os_debugging.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/mac/cci_os_identifier.c b/src/ccapi/common/mac/cci_os_identifier.c
index e87e400..be7b5bd 100644
--- a/src/ccapi/common/mac/cci_os_identifier.c
+++ b/src/ccapi/common/mac/cci_os_identifier.c
@@ -1,6 +1,5 @@
+/* ccapi/common/mac/cci_os_identifier.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/OldCC/ccutils.c b/src/ccapi/common/win/OldCC/ccutils.c
index 220b1d1..13f72cb 100644
--- a/src/ccapi/common/win/OldCC/ccutils.c
+++ b/src/ccapi/common/win/OldCC/ccutils.c
@@ -1,6 +1,5 @@
+/* ccapi/common/win/OldCC/ccutils.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/OldCC/ccutils.h b/src/ccapi/common/win/OldCC/ccutils.h
index 0734128..f91c777 100644
--- a/src/ccapi/common/win/OldCC/ccutils.h
+++ b/src/ccapi/common/win/OldCC/ccutils.h
@@ -1,6 +1,5 @@
+/* ccapi/common/win/OldCC/ccutils.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/OldCC/name.h b/src/ccapi/common/win/OldCC/name.h
index 7b442e0..42a3fba 100644
--- a/src/ccapi/common/win/OldCC/name.h
+++ b/src/ccapi/common/win/OldCC/name.h
@@ -1,6 +1,5 @@
+/* ccapi/common/win/OldCC/name.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/OldCC/util.h b/src/ccapi/common/win/OldCC/util.h
index 4a83c64..082f608 100644
--- a/src/ccapi/common/win/OldCC/util.h
+++ b/src/ccapi/common/win/OldCC/util.h
@@ -1,6 +1,5 @@
+/* ccapi/common/win/OldCC/util.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/cci_os_debugging.c b/src/ccapi/common/win/cci_os_debugging.c
index 5a8c9e7..de31c7c 100644
--- a/src/ccapi/common/win/cci_os_debugging.c
+++ b/src/ccapi/common/win/cci_os_debugging.c
@@ -1,6 +1,5 @@
+/* ccapi/common/win/cci_os_debugging.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/cci_os_identifier.c b/src/ccapi/common/win/cci_os_identifier.c
index 34659e0..4be2638 100644
--- a/src/ccapi/common/win/cci_os_identifier.c
+++ b/src/ccapi/common/win/cci_os_identifier.c
@@ -1,6 +1,5 @@
+/* ccapi/common/win/cci_os_identifier.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/tls.c b/src/ccapi/common/win/tls.c
index 60c8ea1..888230e 100644
--- a/src/ccapi/common/win/tls.c
+++ b/src/ccapi/common/win/tls.c
@@ -1,6 +1,5 @@
+/* ccapi/common/win/tls.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/tls.h b/src/ccapi/common/win/tls.h
index d688ed2..4a8861e 100644
--- a/src/ccapi/common/win/tls.h
+++ b/src/ccapi/common/win/tls.h
@@ -1,6 +1,5 @@
+/* ccapi/common/win/tls.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/win-utils.c b/src/ccapi/common/win/win-utils.c
index 3795ca5..b49cca8 100644
--- a/src/ccapi/common/win/win-utils.c
+++ b/src/ccapi/common/win/win-utils.c
@@ -1,6 +1,5 @@
+/* ccapi/common/win/win-utils.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/common/win/win-utils.h b/src/ccapi/common/win/win-utils.h
index 5dbb192..6469a61 100644
--- a/src/ccapi/common/win/win-utils.h
+++ b/src/ccapi/common/win/win-utils.h
@@ -1,6 +1,5 @@
+/* ccapi/common/win/win-utils.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_ccache.c b/src/ccapi/lib/ccapi_ccache.c
index 9104c8e..9e8ba36 100644
--- a/src/ccapi/lib/ccapi_ccache.c
+++ b/src/ccapi/lib/ccapi_ccache.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_ccache.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_ccache.h b/src/ccapi/lib/ccapi_ccache.h
index 1a449c2..e6fc129 100644
--- a/src/ccapi/lib/ccapi_ccache.h
+++ b/src/ccapi/lib/ccapi_ccache.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_ccache.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_ccache_iterator.c b/src/ccapi/lib/ccapi_ccache_iterator.c
index aa10e1e..795610d 100644
--- a/src/ccapi/lib/ccapi_ccache_iterator.c
+++ b/src/ccapi/lib/ccapi_ccache_iterator.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_ccache_iterator.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_ccache_iterator.h b/src/ccapi/lib/ccapi_ccache_iterator.h
index 9556aa0..88947ea 100644
--- a/src/ccapi/lib/ccapi_ccache_iterator.h
+++ b/src/ccapi/lib/ccapi_ccache_iterator.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_ccache_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_context.c b/src/ccapi/lib/ccapi_context.c
index 7715139..a16ce0e 100644
--- a/src/ccapi/lib/ccapi_context.c
+++ b/src/ccapi/lib/ccapi_context.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_context.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_context.h b/src/ccapi/lib/ccapi_context.h
index 8bc2e36..51b8982 100644
--- a/src/ccapi/lib/ccapi_context.h
+++ b/src/ccapi/lib/ccapi_context.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_context.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_context_change_time.c b/src/ccapi/lib/ccapi_context_change_time.c
index 602ab26..3486c46 100644
--- a/src/ccapi/lib/ccapi_context_change_time.c
+++ b/src/ccapi/lib/ccapi_context_change_time.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_context_change_time.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_context_change_time.h b/src/ccapi/lib/ccapi_context_change_time.h
index ecf3583..b1fa110 100644
--- a/src/ccapi/lib/ccapi_context_change_time.h
+++ b/src/ccapi/lib/ccapi_context_change_time.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_context_change_time.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_credentials.c b/src/ccapi/lib/ccapi_credentials.c
index c94b551..cb175a3 100644
--- a/src/ccapi/lib/ccapi_credentials.c
+++ b/src/ccapi/lib/ccapi_credentials.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_credentials.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_credentials.h b/src/ccapi/lib/ccapi_credentials.h
index 9307e68..aea6a41 100644
--- a/src/ccapi/lib/ccapi_credentials.h
+++ b/src/ccapi/lib/ccapi_credentials.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_credentials.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_credentials_iterator.c b/src/ccapi/lib/ccapi_credentials_iterator.c
index 0ff6148..f1efc7f 100644
--- a/src/ccapi/lib/ccapi_credentials_iterator.c
+++ b/src/ccapi/lib/ccapi_credentials_iterator.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_credentials_iterator.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_credentials_iterator.h b/src/ccapi/lib/ccapi_credentials_iterator.h
index 84c3d2e..56c4505 100644
--- a/src/ccapi/lib/ccapi_credentials_iterator.h
+++ b/src/ccapi/lib/ccapi_credentials_iterator.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_credentials_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_ipc.c b/src/ccapi/lib/ccapi_ipc.c
index 0f14df8..66830de 100644
--- a/src/ccapi/lib/ccapi_ipc.c
+++ b/src/ccapi/lib/ccapi_ipc.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_ipc.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_ipc.h b/src/ccapi/lib/ccapi_ipc.h
index 03b890b..a23791c 100644
--- a/src/ccapi/lib/ccapi_ipc.h
+++ b/src/ccapi/lib/ccapi_ipc.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_ipc.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_os_ipc.h b/src/ccapi/lib/ccapi_os_ipc.h
index eabea25..e27ae63 100644
--- a/src/ccapi/lib/ccapi_os_ipc.h
+++ b/src/ccapi/lib/ccapi_os_ipc.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_os_ipc.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_string.c b/src/ccapi/lib/ccapi_string.c
index d0386c3..ab84dfe 100644
--- a/src/ccapi/lib/ccapi_string.c
+++ b/src/ccapi/lib/ccapi_string.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_string.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_string.h b/src/ccapi/lib/ccapi_string.h
index dec7a7c..02debde 100644
--- a/src/ccapi/lib/ccapi_string.h
+++ b/src/ccapi/lib/ccapi_string.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_string.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/ccapi_v2.c b/src/ccapi/lib/ccapi_v2.c
index 04edd86..8a831d7 100644
--- a/src/ccapi/lib/ccapi_v2.c
+++ b/src/ccapi/lib/ccapi_v2.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/ccapi_v2.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/mac/ccapi_os_ipc.c b/src/ccapi/lib/mac/ccapi_os_ipc.c
index a25297e..d6b9a6c 100644
--- a/src/ccapi/lib/mac/ccapi_os_ipc.c
+++ b/src/ccapi/lib/mac/ccapi_os_ipc.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/mac/ccapi_os_ipc.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/mac/ccapi_vector.c b/src/ccapi/lib/mac/ccapi_vector.c
index 3893bc9..155599d 100644
--- a/src/ccapi/lib/mac/ccapi_vector.c
+++ b/src/ccapi/lib/mac/ccapi_vector.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/mac/ccapi_vector.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/mac/ccapi_vector.h b/src/ccapi/lib/mac/ccapi_vector.h
index 4bce9a3..803257c 100644
--- a/src/ccapi/lib/mac/ccapi_vector.h
+++ b/src/ccapi/lib/mac/ccapi_vector.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/mac/ccapi_vector.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/win/OldCC/client.h b/src/ccapi/lib/win/OldCC/client.h
index 52be2ed..1c67acd 100644
--- a/src/ccapi/lib/win/OldCC/client.h
+++ b/src/ccapi/lib/win/OldCC/client.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/win/OldCC/client.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/win/ccs_reply_proc.c b/src/ccapi/lib/win/ccs_reply_proc.c
index 4ac8940..b0fe037 100644
--- a/src/ccapi/lib/win/ccs_reply_proc.c
+++ b/src/ccapi/lib/win/ccs_reply_proc.c
@@ -1,6 +1,5 @@
+/* ccapi/lib/win/ccs_reply_proc.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/lib/win/dllmain.h b/src/ccapi/lib/win/dllmain.h
index a43262d..8238566 100644
--- a/src/ccapi/lib/win/dllmain.h
+++ b/src/ccapi/lib/win/dllmain.h
@@ -1,6 +1,5 @@
+/* ccapi/lib/win/dllmain.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_array.c b/src/ccapi/server/ccs_array.c
index c5fb4f3..7e0874a 100644
--- a/src/ccapi/server/ccs_array.c
+++ b/src/ccapi/server/ccs_array.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_array.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_array.h b/src/ccapi/server/ccs_array.h
index 93dc9d8..470812b 100644
--- a/src/ccapi/server/ccs_array.h
+++ b/src/ccapi/server/ccs_array.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_array.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_cache_collection.c b/src/ccapi/server/ccs_cache_collection.c
index c96a75b..3330073 100644
--- a/src/ccapi/server/ccs_cache_collection.c
+++ b/src/ccapi/server/ccs_cache_collection.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_cache_collection.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_cache_collection.h b/src/ccapi/server/ccs_cache_collection.h
index 53f9709..37f7633 100644
--- a/src/ccapi/server/ccs_cache_collection.h
+++ b/src/ccapi/server/ccs_cache_collection.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_cache_collection.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_callback.c b/src/ccapi/server/ccs_callback.c
index 499ba30..d758acb 100644
--- a/src/ccapi/server/ccs_callback.c
+++ b/src/ccapi/server/ccs_callback.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_callback.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_callback.h b/src/ccapi/server/ccs_callback.h
index 2652698..30c2228 100644
--- a/src/ccapi/server/ccs_callback.h
+++ b/src/ccapi/server/ccs_callback.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_callback.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_ccache.c b/src/ccapi/server/ccs_ccache.c
index c1e91bc..65c59e4 100644
--- a/src/ccapi/server/ccs_ccache.c
+++ b/src/ccapi/server/ccs_ccache.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_ccache.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_ccache.h b/src/ccapi/server/ccs_ccache.h
index 9d4e607..8dab065 100644
--- a/src/ccapi/server/ccs_ccache.h
+++ b/src/ccapi/server/ccs_ccache.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_ccache.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_ccache_iterator.c b/src/ccapi/server/ccs_ccache_iterator.c
index 045ad3d..172e68a 100644
--- a/src/ccapi/server/ccs_ccache_iterator.c
+++ b/src/ccapi/server/ccs_ccache_iterator.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_ccache_iterator.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_ccache_iterator.h b/src/ccapi/server/ccs_ccache_iterator.h
index 642ebcc..96bf929 100644
--- a/src/ccapi/server/ccs_ccache_iterator.h
+++ b/src/ccapi/server/ccs_ccache_iterator.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_ccache_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_client.c b/src/ccapi/server/ccs_client.c
index 72ae89d..a7b0ad0 100644
--- a/src/ccapi/server/ccs_client.c
+++ b/src/ccapi/server/ccs_client.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_client.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_client.h b/src/ccapi/server/ccs_client.h
index 58c9637..b6070da 100644
--- a/src/ccapi/server/ccs_client.h
+++ b/src/ccapi/server/ccs_client.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_client.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_common.h b/src/ccapi/server/ccs_common.h
index 3710b11..eafecd8 100644
--- a/src/ccapi/server/ccs_common.h
+++ b/src/ccapi/server/ccs_common.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_common.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_credentials.c b/src/ccapi/server/ccs_credentials.c
index 9795ef8..2c68e0f 100644
--- a/src/ccapi/server/ccs_credentials.c
+++ b/src/ccapi/server/ccs_credentials.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_credentials.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_credentials.h b/src/ccapi/server/ccs_credentials.h
index 24b2794..5f096b8 100644
--- a/src/ccapi/server/ccs_credentials.h
+++ b/src/ccapi/server/ccs_credentials.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_credentials.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_credentials_iterator.c b/src/ccapi/server/ccs_credentials_iterator.c
index 27751ed..df18041 100644
--- a/src/ccapi/server/ccs_credentials_iterator.c
+++ b/src/ccapi/server/ccs_credentials_iterator.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_credentials_iterator.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_credentials_iterator.h b/src/ccapi/server/ccs_credentials_iterator.h
index 84ff0ba..fc81a82 100644
--- a/src/ccapi/server/ccs_credentials_iterator.h
+++ b/src/ccapi/server/ccs_credentials_iterator.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_credentials_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_list.c b/src/ccapi/server/ccs_list.c
index 8896734..ef9a190 100644
--- a/src/ccapi/server/ccs_list.c
+++ b/src/ccapi/server/ccs_list.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_list.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_list.h b/src/ccapi/server/ccs_list.h
index e48d4c4..7b818f9 100644
--- a/src/ccapi/server/ccs_list.h
+++ b/src/ccapi/server/ccs_list.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_list.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_list_internal.c b/src/ccapi/server/ccs_list_internal.c
index 834a7bc..82d6465 100644
--- a/src/ccapi/server/ccs_list_internal.c
+++ b/src/ccapi/server/ccs_list_internal.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_list_internal.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_list_internal.h b/src/ccapi/server/ccs_list_internal.h
index d659fbe..08cfa20 100644
--- a/src/ccapi/server/ccs_list_internal.h
+++ b/src/ccapi/server/ccs_list_internal.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_list_internal.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_lock.c b/src/ccapi/server/ccs_lock.c
index 23756b4..06886f8 100644
--- a/src/ccapi/server/ccs_lock.c
+++ b/src/ccapi/server/ccs_lock.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_lock.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_lock.h b/src/ccapi/server/ccs_lock.h
index d6f7548..71863ab 100644
--- a/src/ccapi/server/ccs_lock.h
+++ b/src/ccapi/server/ccs_lock.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_lock.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_lock_state.c b/src/ccapi/server/ccs_lock_state.c
index 94edcec..681661e 100644
--- a/src/ccapi/server/ccs_lock_state.c
+++ b/src/ccapi/server/ccs_lock_state.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_lock_state.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_lock_state.h b/src/ccapi/server/ccs_lock_state.h
index aa0c23a..de91fca 100644
--- a/src/ccapi/server/ccs_lock_state.h
+++ b/src/ccapi/server/ccs_lock_state.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_lock_state.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_os_notify.h b/src/ccapi/server/ccs_os_notify.h
index 572f749..4021568 100644
--- a/src/ccapi/server/ccs_os_notify.h
+++ b/src/ccapi/server/ccs_os_notify.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_os_notify.h */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_os_pipe.h b/src/ccapi/server/ccs_os_pipe.h
index ade4b2e..4f6a379 100644
--- a/src/ccapi/server/ccs_os_pipe.h
+++ b/src/ccapi/server/ccs_os_pipe.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_os_pipe.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_os_server.h b/src/ccapi/server/ccs_os_server.h
index 8212028..dc89f1d 100644
--- a/src/ccapi/server/ccs_os_server.h
+++ b/src/ccapi/server/ccs_os_server.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_os_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_pipe.c b/src/ccapi/server/ccs_pipe.c
index 41ec60c..37744f6 100644
--- a/src/ccapi/server/ccs_pipe.c
+++ b/src/ccapi/server/ccs_pipe.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_pipe.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_pipe.h b/src/ccapi/server/ccs_pipe.h
index daf6630..6e4f9ef 100644
--- a/src/ccapi/server/ccs_pipe.h
+++ b/src/ccapi/server/ccs_pipe.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_pipe.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_server.c b/src/ccapi/server/ccs_server.c
index 4698341..aeff723 100644
--- a/src/ccapi/server/ccs_server.c
+++ b/src/ccapi/server/ccs_server.c
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_server.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_server.h b/src/ccapi/server/ccs_server.h
index e059d86..4d17099 100644
--- a/src/ccapi/server/ccs_server.h
+++ b/src/ccapi/server/ccs_server.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/ccs_types.h b/src/ccapi/server/ccs_types.h
index aaea033..773b316 100644
--- a/src/ccapi/server/ccs_types.h
+++ b/src/ccapi/server/ccs_types.h
@@ -1,6 +1,5 @@
+/* ccapi/server/ccs_types.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/mac/ccs_os_notify.c b/src/ccapi/server/mac/ccs_os_notify.c
index 84501fb..e758deb 100644
--- a/src/ccapi/server/mac/ccs_os_notify.c
+++ b/src/ccapi/server/mac/ccs_os_notify.c
@@ -1,6 +1,5 @@
+/* ccapi/server/mac/ccs_os_notify.c */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/mac/ccs_os_pipe.c b/src/ccapi/server/mac/ccs_os_pipe.c
index 0462a64..67f9030 100644
--- a/src/ccapi/server/mac/ccs_os_pipe.c
+++ b/src/ccapi/server/mac/ccs_os_pipe.c
@@ -1,6 +1,5 @@
+/* ccapi/server/mac/ccs_os_pipe.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/mac/ccs_os_server.c b/src/ccapi/server/mac/ccs_os_server.c
index 276c1ad..b16f5e0 100644
--- a/src/ccapi/server/mac/ccs_os_server.c
+++ b/src/ccapi/server/mac/ccs_os_server.c
@@ -1,6 +1,5 @@
+/* ccapi/server/mac/ccs_os_server.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/win/WorkQueue.h b/src/ccapi/server/win/WorkQueue.h
index b451e12..6b22651 100644
--- a/src/ccapi/server/win/WorkQueue.h
+++ b/src/ccapi/server/win/WorkQueue.h
@@ -1,6 +1,5 @@
+/* ccapi/server/win/WorkQueue.h */
/*
- * $Header$
- *
* Copyright 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/win/ccs_os_pipe.c b/src/ccapi/server/win/ccs_os_pipe.c
index 4573fa5..7e190ce 100644
--- a/src/ccapi/server/win/ccs_os_pipe.c
+++ b/src/ccapi/server/win/ccs_os_pipe.c
@@ -1,6 +1,5 @@
+/* ccapi/server/win/ccs_os_pipe.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/win/ccs_request_proc.c b/src/ccapi/server/win/ccs_request_proc.c
index 00a8f03..bdd691e 100644
--- a/src/ccapi/server/win/ccs_request_proc.c
+++ b/src/ccapi/server/win/ccs_request_proc.c
@@ -1,6 +1,5 @@
+/* ccapi/server/win/ccs_request_proc.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/win/ccs_win_pipe.c b/src/ccapi/server/win/ccs_win_pipe.c
index 243f8f2..9cbfa9c 100644
--- a/src/ccapi/server/win/ccs_win_pipe.c
+++ b/src/ccapi/server/win/ccs_win_pipe.c
@@ -1,6 +1,5 @@
+/* ccapi/server/win/ccs_win_pipe.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/ccapi/server/win/ccs_win_pipe.h b/src/ccapi/server/win/ccs_win_pipe.h
index c489aaf..e5fb837 100644
--- a/src/ccapi/server/win/ccs_win_pipe.h
+++ b/src/ccapi/server/win/ccs_win_pipe.h
@@ -1,6 +1,5 @@
+/* ccapi/server/win/ccs_win_pipe.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/clients/kdestroy/kdestroy.c b/src/clients/kdestroy/kdestroy.c
index 7da08d8..7f4469a 100644
--- a/src/clients/kdestroy/kdestroy.c
+++ b/src/clients/kdestroy/kdestroy.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kdestroy/kdestroy.c - Destroy contents of credential cache */
/*
- * clients/kdestroy/kdestroy.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Destroy the contents of your credential cache.
*/
#include "autoconf.h"
diff --git a/src/clients/kinit/extern.h b/src/clients/kinit/extern.h
index 23ecdc4..28682a1 100644
--- a/src/clients/kinit/extern.h
+++ b/src/clients/kinit/extern.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kinit/extern.h - Global declarations for kinit */
/*
- * clients/kinit/extern.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Global declarations for kinit.
*/
#ifndef KINIT_EXTERN_H
diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c
index d8746cb4..292d6c3 100644
--- a/src/clients/kinit/kinit.c
+++ b/src/clients/kinit/kinit.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kinit/kinit.c - Initialize a credential cache */
/*
- * clients/kinit/kinit.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Initialize a credentials cache.
*/
#include "autoconf.h"
diff --git a/src/clients/kinit/kinit_kdb.c b/src/clients/kinit/kinit_kdb.c
index 7a2c2b4..cc3df04 100644
--- a/src/clients/kinit/kinit_kdb.c
+++ b/src/clients/kinit/kinit_kdb.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kinit/kinit_kdb.c */
/*
- * clients/kinit/kinit_kdb.c
- *
* Copyright (C) 2010 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.
- *
- *
- */
+ */
+
/**
* @file kinit_kdb.c
* Operations to open the KDB and make the KDB key table available
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index 304d69d..6f37825 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/klist/klist.c - List contents of credential cache or keytab */
/*
- * clients/klist/klist.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * List out the contents of your credential cache or keytab.
*/
#include "autoconf.h"
diff --git a/src/clients/ksu/setenv.c b/src/clients/ksu/setenv.c
index 6e8710d..587005c 100644
--- a/src/clients/ksu/setenv.c
+++ b/src/clients/ksu/setenv.c
@@ -15,6 +15,22 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley. The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
/* based on @(#)setenv.c 5.2 (Berkeley) 6/27/88 */
@@ -111,22 +127,6 @@ unsetenv(name)
break;
}
#endif
-/*
- * Copyright (c) 1987 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley. The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
/* based on @(#)getenv.c 5.5 (Berkeley) 6/27/88 */
diff --git a/src/clients/ksu/xmalloc.c b/src/clients/ksu/xmalloc.c
index f88c0a6..9e3e98d 100644
--- a/src/clients/ksu/xmalloc.c
+++ b/src/clients/ksu/xmalloc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/ksu/xmalloc.c - Exit-on-failure allocation wrappers */
/*
- * clients/ksu/xmalloc.c
- *
* Copyright 1999 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Perform simple allocation/copy operations, exiting on failure.
*/
#include "ksu.h"
diff --git a/src/include/CredentialsCache.h b/src/include/CredentialsCache.h
index 75c4ce7..54f71a1 100644
--- a/src/include/CredentialsCache.h
+++ b/src/include/CredentialsCache.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/CredentialsCache.h */
/*
- * $Header$
- *
* Copyright 1998-2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/include/CredentialsCache2.h b/src/include/CredentialsCache2.h
index 687ff43..b3b4899 100644
--- a/src/include/CredentialsCache2.h
+++ b/src/include/CredentialsCache2.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/CredentialsCache2.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/include/adm.h b/src/include/adm.h
index c23cd89..9c75b15 100644
--- a/src/include/adm.h
+++ b/src/include/adm.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/adm.h */
/*
- * include/krb5/adm.h
- *
* Copyright 1995,2001,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
*/
+
#ifndef KRB5_ADM_H__
#define KRB5_ADM_H__
diff --git a/src/include/adm_proto.h b/src/include/adm_proto.h
index 9cdd22c..c6d1425 100644
--- a/src/include/adm_proto.h
+++ b/src/include/adm_proto.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/adm_proto.h */
/*
- * include/krb5/adm_proto.h
- *
* Copyright 1995, 2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
*/
+
#ifndef KRB5_ADM_PROTO_H__
#define KRB5_ADM_PROTO_H__
diff --git a/src/include/cm.h b/src/include/cm.h
index 2bb5ca9..734f69e 100644
--- a/src/include/cm.h
+++ b/src/include/cm.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/cm.h */
/*
- * include/cm.h
- *
* Copyright 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/include/foreachaddr.h b/src/include/foreachaddr.h
index c46d471..9ed35ea 100644
--- a/src/include/foreachaddr.h
+++ b/src/include/foreachaddr.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/foreachaddr.h */
/*
- * include/foreachaddr.c
- *
* Copyright 1990,1991,2000,2001,2002,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.
- *
+ */
+
+/*
*
* Iterate over the protocol addresses supported by this host, invoking
* a callback function or three supplied by the caller.
diff --git a/src/include/gssrpc/auth_gss.h b/src/include/gssrpc/auth_gss.h
index c850b03..9fa8774 100644
--- a/src/include/gssrpc/auth_gss.h
+++ b/src/include/gssrpc/auth_gss.h
@@ -1,6 +1,5 @@
+/* include/gssrpc/auth_gss.h */
/*
- auth_gssapi.h
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
diff --git a/src/include/gssrpc/auth_gssapi.h b/src/include/gssrpc/auth_gssapi.h
index cd405d4..d842930 100644
--- a/src/include/gssrpc/auth_gssapi.h
+++ b/src/include/gssrpc/auth_gssapi.h
@@ -1,10 +1,6 @@
+/* include/gssrpc/auth_gssapi.h - GSS-API style auth parameters for RPC */
/*
- * auth_gssapi.h, Protocol for GSS-API style authentication parameters for RPC
- *
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
- *
- * $Id$
- *
*/
#ifndef GSSRPC_AUTH_GSSAPI_H
diff --git a/src/include/gssrpc/netdb.h b/src/include/gssrpc/netdb.h
index d02f8c1..f933fbb 100644
--- a/src/include/gssrpc/netdb.h
+++ b/src/include/gssrpc/netdb.h
@@ -1,7 +1,4 @@
-#ifndef RPC_NETDB_H
-#define RPC_NETDB_H
-
-/* @(#)netdb.h 2.1 88/07/29 3.9 RPCSRC */
+/* include/gssrpc/netdb.h */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
@@ -34,7 +31,13 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+/* @(#)netdb.h 2.1 88/07/29 3.9 RPCSRC */
/* @(#)rpc.h 1.8 87/07/24 SMI */
+
+#ifndef RPC_NETDB_H
+#define RPC_NETDB_H
+
#include <gssrpc/types.h>
/* since the gssrpc library requires that any application using it be
built with these header files, I am making the decision that any app
diff --git a/src/include/gssrpc/rename.h b/src/include/gssrpc/rename.h
index a4da2cd..318be1a 100644
--- a/src/include/gssrpc/rename.h
+++ b/src/include/gssrpc/rename.h
@@ -1,6 +1,5 @@
+/* include/gssrpc/rename.h */
/*
- * lib/rpc/rename.h
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -22,7 +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.
- *
+ */
+
+/*
*
* Namespace mangling for various purposes.
*
diff --git a/src/include/k5-buf.h b/src/include/k5-buf.h
index ccd6bd3..621d7d3 100644
--- a/src/include/k5-buf.h
+++ b/src/include/k5-buf.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-buf.h - k5buf interface declarations */
/*
- * include/k5-buf.h
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * k5buf string buffer module interface
*/
#ifndef K5_BUF_H
diff --git a/src/include/k5-err.h b/src/include/k5-err.h
index 7014002..483c5cd 100644
--- a/src/include/k5-err.h
+++ b/src/include/k5-err.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-err.h */
/*
- * include/k5-err.h
- *
* Copyright 2006, 2007 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.
- *
+ */
+
+/*
*
* Error-message handling
*/
diff --git a/src/include/k5-gmt_mktime.h b/src/include/k5-gmt_mktime.h
index 11cb9dd..795e46c 100644
--- a/src/include/k5-gmt_mktime.h
+++ b/src/include/k5-gmt_mktime.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-gmt_mktime.h */
/*
- * include/k5-gmt_mktime.h
- *
* Copyright 2008 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.
- *
+ */
+
+/*
*
* GMT struct tm conversion
*
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 830abd5..85cd717 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1,6 +1,7 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * Copyright (C) 1989,1990,1991,1992,1993,1994,1995,2000,2001, 2003,2006,2007,2008,2009 by the Massachusetts Institute of Technology,
+ * Copyright (C) 1989,1990,1991,1992,1993,1994,1995,2000,2001,
+ * 2003,2006,2007,2008,2009 by the Massachusetts Institute of Technology,
* Cambridge, MA, USA. All Rights Reserved.
*
* This software is being provided to you, the LICENSEE, by the
@@ -39,7 +40,6 @@
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -797,7 +797,6 @@ error(MIT_DES_KEYSIZE does not equal KRB5_MIT_DES_KEYSIZE)
* Sandia National Laboratories also makes no representations about the
* suitability of the modifications, or additions to this software for
* any purpose. It is provided "as is" without express or implied warranty.
- *
*/
#ifndef KRB5_PREAUTH__
#define KRB5_PREAUTH__
diff --git a/src/include/k5-ipc_stream.h b/src/include/k5-ipc_stream.h
index c1a36e6..11f8bc7 100644
--- a/src/include/k5-ipc_stream.h
+++ b/src/include/k5-ipc_stream.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-ipc_stream.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h
index e656b52..dd776e7 100644
--- a/src/include/k5-platform.h
+++ b/src/include/k5-platform.h
@@ -1,7 +1,6 @@
/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* include/k5-platform.h */
/*
- * k5-platform.h
- *
* Copyright 2003, 2004, 2005, 2007, 2008, 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Some platform-dependent definitions to sync up the C support level.
* Some to a C99-ish level, some related utility code.
*
diff --git a/src/include/k5-thread.h b/src/include/k5-thread.h
index 5f0325c..0c90b55 100644
--- a/src/include/k5-thread.h
+++ b/src/include/k5-thread.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-thread.h - Preliminary portable thread support */
/*
- * include/k5-thread.h
- *
* Copyright 2004,2005,2006,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Preliminary thread support.
*/
#ifndef K5_THREAD_H
diff --git a/src/include/k5-trace.h b/src/include/k5-trace.h
index 96a6acf..a9f7573 100644
--- a/src/include/k5-trace.h
+++ b/src/include/k5-trace.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-trace.h */
/*
- * include/k5-trace.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* This header contains trace macro definitions, which map trace points within
* the code to krb5int_trace() calls with descriptive text strings.
*
diff --git a/src/include/k5-unicode.h b/src/include/k5-unicode.h
index d643734..1c5ceb8 100644
--- a/src/include/k5-unicode.h
+++ b/src/include/k5-unicode.h
@@ -39,8 +39,7 @@
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -52,9 +51,7 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* This notice applies to changes, created by or for Novell, Inc.,
- * to preexisting works for which notices appear elsewhere in this file.
- *
+/*
* Copyright (C) 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
@@ -67,6 +64,8 @@
* PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
#ifndef K5_UNICODE_H
#define K5_UNICODE_H
diff --git a/src/include/k5-utf8.h b/src/include/k5-utf8.h
index ac54147..a4b6375 100644
--- a/src/include/k5-utf8.h
+++ b/src/include/k5-utf8.h
@@ -39,8 +39,7 @@
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -52,9 +51,7 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* This notice applies to changes, created by or for Novell, Inc.,
- * to preexisting works for which notices appear elsewhere in this file.
- *
+/*
* Copyright (C) 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
@@ -66,6 +63,7 @@
* LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT THE
* PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
#ifndef K5_UTF8_H
#define K5_UTF8_H
diff --git a/src/include/kdb.h b/src/include/kdb.h
index ed1961e..20ca78a 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -1,7 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * include/krb5/kdb.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +21,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.
- *
- *
- * KDC Database interface definitions.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -53,12 +47,13 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/* KDC Database interface definitions */
+
/* This API is not considered as stable as the main krb5 API.
*
* - We may make arbitrary incompatible changes between feature
diff --git a/src/include/kdb_kt.h b/src/include/kdb_kt.h
index b906379..6a71c3c 100644
--- a/src/include/kdb_kt.h
+++ b/src/include/kdb_kt.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/kdb_kt.h - KDC keytab declarations */
/*
- * include/krb5/kdb_kt.h
- *
* Copyright 1997 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.
- *
- *
- * KDC keytab definitions.
*/
-
#ifndef KRB5_KDB5_KT_H
#define KRB5_KDB5_KT_H
diff --git a/src/include/krb5/authdata_plugin.h b/src/include/krb5/authdata_plugin.h
index 32bff2f..476105c 100644
--- a/src/include/krb5/authdata_plugin.h
+++ b/src/include/krb5/authdata_plugin.h
@@ -1,7 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * krb5/authdata_plugin.h
- *
* Copyright (C) 2007 Apple Inc. All Rights Reserved.
*
* Export of this software from the United States of America may
@@ -22,11 +20,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.
- *
- * AuthorizationData plugin definitions for Kerberos 5.
*/
/*
+ * Authorization data plugin definitions for Kerberos 5.
* This is considered an INTERNAL interface at this time.
*
* Some work is needed before exporting it:
diff --git a/src/include/krb5/kadm5_hook_plugin.h b/src/include/krb5/kadm5_hook_plugin.h
index cca8353..6a0aa45 100644
--- a/src/include/krb5/kadm5_hook_plugin.h
+++ b/src/include/krb5/kadm5_hook_plugin.h
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * include/krb5/kadm5_hook_plugin.h
- */
-/*
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 713932b..308e50f 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -1,8 +1,7 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* include/krb5.h - General definitions for Kerberos version 5.
- *
- * Copyright 1989,1990,1995,2001, 2003, 2007, 2011 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+/*
+ * Copyright 1989,1990,1995,2001, 2003, 2007, 2011 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.
@@ -22,9 +21,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 (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/include/krb5/locate_plugin.h b/src/include/krb5/locate_plugin.h
index 3bdac34..d0e8549 100644
--- a/src/include/krb5/locate_plugin.h
+++ b/src/include/krb5/locate_plugin.h
@@ -1,7 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * <krb5/locate_plugin.h>
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,7 +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.
- *
+ */
+
+/*
*
* Service location plugin definitions for Kerberos 5.
*/
diff --git a/src/include/krb5/plugin.h b/src/include/krb5/plugin.h
index f43406a..c575efa 100644
--- a/src/include/krb5/plugin.h
+++ b/src/include/krb5/plugin.h
@@ -1,7 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * <krb5/plugin.h>
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,11 +21,11 @@
* 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.
- *
- *
- * Generic declarations for dynamic modules implementing krb5 plugin modules.
*/
+/* Generic declarations for dynamic modules implementing krb5 plugin
+ * modules. */
+
#ifndef KRB5_PLUGIN_H
#define KRB5_PLUGIN_H
diff --git a/src/include/krb5/preauth_plugin.h b/src/include/krb5/preauth_plugin.h
index 0e7dac2..21140cb 100644
--- a/src/include/krb5/preauth_plugin.h
+++ b/src/include/krb5/preauth_plugin.h
@@ -1,7 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * <krb5/preauth_plugin.h>
- *
* Copyright (c) 2006 Red Hat, Inc.
* Portions copyright (c) 2006 Massachusetts Institute of Technology
* All Rights Reserved.
@@ -30,10 +28,10 @@
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * Preauthentication plugin definitions for Kerberos 5.
*/
+/* Preauthentication plugin definitions for Kerberos 5 */
+
#ifndef KRB5_PREAUTH_PLUGIN_H_INCLUDED
#define KRB5_PREAUTH_PLUGIN_H_INCLUDED
#include <krb5/krb5.h>
diff --git a/src/include/krb5/pwqual_plugin.h b/src/include/krb5/pwqual_plugin.h
index 110197a..00e7df9 100644
--- a/src/include/krb5/pwqual_plugin.h
+++ b/src/include/krb5/pwqual_plugin.h
@@ -1,7 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * prototype/prototype.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Declarations for password quality plugin module implementors.
*
* The password quality pluggable interface currently has only one supported
diff --git a/src/include/net-server.h b/src/include/net-server.h
index 105b006..6902abf 100644
--- a/src/include/net-server.h
+++ b/src/include/net-server.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/net-server.h */
/*
- * include/net-server.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,11 +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.
- *
- *
- * Declarations for "API" of network listener/dispatcher in libapputils.
*/
+/* Declarations for "API" of network listener/dispatcher in libapputils. */
+
#ifndef NET_SERVER_H
#define NET_SERVER_H
diff --git a/src/include/osconf.hin b/src/include/osconf.hin
index b39c974..073ce14 100644
--- a/src/include/osconf.hin
+++ b/src/include/osconf.hin
@@ -1,6 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* include/krb5/stock/osconf.h
- *
+/*
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -22,11 +21,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.
- *
- *
- * Site- and OS- dependant configuration.
*/
+/* Site- and OS- dependent configuration */
+
#ifndef KRB5_OSCONF__
#define KRB5_OSCONF__
diff --git a/src/include/pkinit_apple_utils.h b/src/include/pkinit_apple_utils.h
index be6a930..77ed9a0 100644
--- a/src/include/pkinit_apple_utils.h
+++ b/src/include/pkinit_apple_utils.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/include/pkinit_asn1.h b/src/include/pkinit_asn1.h
index 44b01e9..a1c4fe8 100644
--- a/src/include/pkinit_asn1.h
+++ b/src/include/pkinit_asn1.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/include/pkinit_cert_store.h b/src/include/pkinit_cert_store.h
index 1524f1c..3bec81e 100644
--- a/src/include/pkinit_cert_store.h
+++ b/src/include/pkinit_cert_store.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/include/pkinit_client.h b/src/include/pkinit_client.h
index d3182cc..ed8e6e4 100644
--- a/src/include/pkinit_client.h
+++ b/src/include/pkinit_client.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/include/pkinit_cms.h b/src/include/pkinit_cms.h
index d46358d..832e00d 100644
--- a/src/include/pkinit_cms.h
+++ b/src/include/pkinit_cms.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
index 38244be..ac08ffa 100644
--- a/src/kadmin/cli/kadmin.c
+++ b/src/kadmin/cli/kadmin.c
@@ -21,15 +21,15 @@
* 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.
- *
- * kadmin.c: base functions for a kadmin command line interface using
- * the OVSecure library
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/* Base functions for a kadmin command line interface using the OVSecure
+ * library */
+
/* for "_" macro */
#include "k5-platform.h"
#include <krb5.h>
diff --git a/src/kadmin/cli/kadmin.h b/src/kadmin/cli/kadmin.h
index 92e5faa..6d87040 100644
--- a/src/kadmin/cli/kadmin.h
+++ b/src/kadmin/cli/kadmin.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/cli/kadmin.h */
/*
- * kadmin/cli/kadmin.h
- *
* Copyright 2001 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.
- *
+ */
+
+/*
*
* Prototypes for kadmin functions called from SS library.
*/
diff --git a/src/kadmin/cli/ss_wrapper.c b/src/kadmin/cli/ss_wrapper.c
index 92ea16a..249a9b4 100644
--- a/src/kadmin/cli/ss_wrapper.c
+++ b/src/kadmin/cli/ss_wrapper.c
@@ -21,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.
- *
- *
- * ss wrapper for kadmin
*/
#include <krb5.h>
diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c
index 9f1a169..2c64688 100644
--- a/src/kadmin/dbutil/dump.c
+++ b/src/kadmin/dbutil/dump.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/dump.c - Dump a KDC database */
/*
- * kadmin/dbutil/dump.c
- *
- * Copyright 1990,1991,2001,2006,2008,2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2001,2006,2008,2009 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.
@@ -23,9 +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.
- *
- *
- * Dump a KDC database
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
diff --git a/src/kadmin/dbutil/kdb5_create.c b/src/kadmin/dbutil/kdb5_create.c
index 087c3dc..0d41b5f 100644
--- a/src/kadmin/dbutil/kdb5_create.c
+++ b/src/kadmin/dbutil/kdb5_create.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_create.c - Create a KDC database */
/*
- * kadmin/dbutil/kdb5_create.c
- *
- * Copyright 1990,1991,2001, 2002, 2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2001, 2002, 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.
@@ -23,11 +22,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.
- *
- *
- * Generate (from scratch) a Kerberos KDC database.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/kadmin/dbutil/kdb5_destroy.c b/src/kadmin/dbutil/kdb5_destroy.c
index bc6a317..04cd340 100644
--- a/src/kadmin/dbutil/kdb5_destroy.c
+++ b/src/kadmin/dbutil/kdb5_destroy.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_destroy.c - Destroy a KDC database */
/*
- * admin/destroy/kdb5_destroy.c
- *
* Copyright 1990, 2008 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.
- *
- *
- * kdb_dest(roy): destroy the named database.
- *
- * This version knows about DBM format databases.
*/
#include "k5-int.h"
diff --git a/src/kadmin/dbutil/kdb5_stash.c b/src/kadmin/dbutil/kdb5_stash.c
index b09c9dc..23b54f8 100644
--- a/src/kadmin/dbutil/kdb5_stash.c
+++ b/src/kadmin/dbutil/kdb5_stash.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_stash.c - Store the master database key in a file */
/*
- * admin/stash/kdb5_stash.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,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.
- *
- *
- * Store the master database key in a file.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/kadmin/dbutil/kdb5_util.c b/src/kadmin/dbutil/kdb5_util.c
index 11b1a55..e7a555f 100644
--- a/src/kadmin/dbutil/kdb5_util.c
+++ b/src/kadmin/dbutil/kdb5_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_util.c - Administer a KDC database */
/*
- * admin/edit/kdb5_edit.c
- *
* (C) Copyright 1990,1991, 1996, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,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.
- *
- *
- * Edit a KDC database.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -53,7 +48,6 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
diff --git a/src/kadmin/dbutil/kdb5_util.h b/src/kadmin/dbutil/kdb5_util.h
index ce9e73e..a5754c5 100644
--- a/src/kadmin/dbutil/kdb5_util.h
+++ b/src/kadmin/dbutil/kdb5_util.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_util.h */
/*
- * admin/edit/kdb5_edit.h
- *
* Copyright 1992, 2008, 2009 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 <kdb_log.h>
diff --git a/src/kadmin/ktutil/ktutil.c b/src/kadmin/ktutil/ktutil.c
index 2f39fe7..162ea42 100644
--- a/src/kadmin/ktutil/ktutil.c
+++ b/src/kadmin/ktutil/ktutil.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/ktutil/ktutil.c - SS user interface for ktutil */
/*
- * kadmin/ktutil/ktutil.c
- *
* Copyright 1995, 1996, 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.
- *
- * SS user interface for ktutil.
*/
#include "k5-int.h"
diff --git a/src/kadmin/ktutil/ktutil.h b/src/kadmin/ktutil/ktutil.h
index 7a3c53e..c4839ff 100644
--- a/src/kadmin/ktutil/ktutil.h
+++ b/src/kadmin/ktutil/ktutil.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/ktutil/ktutil.h */
/*
- * kadmin/ktutil/ktutil.h
- *
* Copyright 1995 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.
- *
*/
typedef struct _krb5_kt_list {
diff --git a/src/kadmin/ktutil/ktutil_funcs.c b/src/kadmin/ktutil/ktutil_funcs.c
index 1aa74de..91cad6b 100644
--- a/src/kadmin/ktutil/ktutil_funcs.c
+++ b/src/kadmin/ktutil/ktutil_funcs.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/ktutil/ktutil_funcs.c */
/*
- * kadmin/ktutil/ktutil_funcs.c
- *
*(C) Copyright 1995, 1996 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.
- *
+ */
+
+/*
* Utility functions for ktutil.
*/
diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c
index b4a90bb..5c21930 100644
--- a/src/kdc/dispatch.c
+++ b/src/kdc/dispatch.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/dispatch.c - Dispatch an incoming packet */
/*
- * kdc/dispatch.c
- *
* Copyright 1990, 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Dispatch an incoming packet.
*/
#include "k5-int.h"
diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c
index 46b5fa1..283c97e 100644
--- a/src/kdc/do_as_req.c
+++ b/src/kdc/do_as_req.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/do_as_req.c */
/*
- * kdc/do_as_req.c
- *
* Portions Copyright (C) 2007 Apple Inc.
* Copyright 1990,1991,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
index b424b3e..087fc48 100644
--- a/src/kdc/do_tgs_req.c
+++ b/src/kdc/do_tgs_req.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/do_tgs_req.c - KDC Routines to deal with TGS_REQ's */
/*
- * kdc/do_tgs_req.c
- *
* Copyright 1990,1991,2001,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * KDC Routines to deal with TGS_REQ's
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/extern.c b/src/kdc/extern.c
index 99f4114..7307bfc 100644
--- a/src/kdc/extern.c
+++ b/src/kdc/extern.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/extern.c */
/*
- * kdc/extern.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,7 +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.
- *
+ */
+
+/*
*
* allocations of extern stuff
*/
diff --git a/src/kdc/extern.h b/src/kdc/extern.h
index 236e5cc..f7a2053 100644
--- a/src/kdc/extern.h
+++ b/src/kdc/extern.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/extern.h */
/*
- * kdc/extern.h
- *
* Copyright 1990,2001,2007,2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * <<< Description >>>
*/
#ifndef __KRB5_KDC_EXTERN__
diff --git a/src/kdc/fast_util.c b/src/kdc/fast_util.c
index e411e32..860dfcb 100644
--- a/src/kdc/fast_util.c
+++ b/src/kdc/fast_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/fast_util.c */
/*
- * kdc/fast_util.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/kdc/kdc_authdata.c b/src/kdc/kdc_authdata.c
index 5861e70..2927de1 100644
--- a/src/kdc/kdc_authdata.c
+++ b/src/kdc/kdc_authdata.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_authdata.c - Authorization data routines for the KDC */
/*
- * kdc/kdc_authdata.c
- *
* Copyright (C) 2007 Apple Inc. All Rights Reserved.
* Copyright (C) 2008, 2009 by the Massachusetts Institute of Technology.
*
@@ -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.
- *
- * AuthorizationData routines for the KDC.
*/
#include "k5-int.h"
diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c
index 832733e..5956119 100644
--- a/src/kdc/kdc_preauth.c
+++ b/src/kdc/kdc_preauth.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_preauth.c - Preauthentication routines for the KDC */
/*
- * kdc/kdc_preauth.c
- *
- * Copyright 1995, 2003, 2007, 2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1995, 2003, 2007, 2009 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.
@@ -23,10 +22,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.
- *
- * Preauthentication routines for the KDC.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c
index 62fea6f..cfb8de7 100644
--- a/src/kdc/kdc_util.c
+++ b/src/kdc/kdc_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_util.c - Utility functions for the KDC implementation */
/*
- * kdc/kdc_util.c
- *
* Copyright 1990,1991,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Utility functions for the KDC implementation.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h
index 998f295..9eba0fc 100644
--- a/src/kdc/kdc_util.h
+++ b/src/kdc/kdc_util.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_util.h */
/*
- * kdc/kdc_util.h
- *
* Portions Copyright (C) 2007 Apple Inc.
* Copyright 1990, 2007 by the Massachusetts Institute of Technology.
*
diff --git a/src/kdc/main.c b/src/kdc/main.c
index 57cd226..7979031 100644
--- a/src/kdc/main.c
+++ b/src/kdc/main.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/main.c - Main procedure body for the KDC server process */
/*
- * kdc/main.c
- *
* Copyright 1990,2001,2008,2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Main procedure body for the KDC server process.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/pkinit_apple_server.c b/src/kdc/pkinit_apple_server.c
index ade1b8b..4252eda 100644
--- a/src/kdc/pkinit_apple_server.c
+++ b/src/kdc/pkinit_apple_server.c
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/kdc/pkinit_server.h b/src/kdc/pkinit_server.h
index b97cb98..26e8edf 100644
--- a/src/kdc/pkinit_server.h
+++ b/src/kdc/pkinit_server.h
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/kdc/policy.c b/src/kdc/policy.c
index 939ddb0..2d07b75 100644
--- a/src/kdc/policy.c
+++ b/src/kdc/policy.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/policy.c - Policy decision routines for KDC */
/*
- * kdc/policy.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Policy decision routines for KDC.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/kdc/policy.h b/src/kdc/policy.h
index 9ccf392..6b000dc 100644
--- a/src/kdc/policy.h
+++ b/src/kdc/policy.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/policy.h - Declarations for policy.c */
/*
- * kdc/policy.h
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Declarations for policy.c
*/
#ifndef __KRB5_KDC_POLICY__
diff --git a/src/kdc/replay.c b/src/kdc/replay.c
index d53936f..fc2a8b5 100644
--- a/src/kdc/replay.c
+++ b/src/kdc/replay.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/replay.c - Replay lookaside cache for the KDC, to avoid extra work */
/*
- * kdc/replay.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- *
- * Replay lookaside cache for the KDC, to avoid extra work.
- *
*/
#include "k5-int.h"
diff --git a/src/kdc/rtest.c b/src/kdc/rtest.c
index 4e3cd7b..45dcb63 100644
--- a/src/kdc/rtest.c
+++ b/src/kdc/rtest.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/rtest.c */
/*
- * kdc/rtest.c
- *
* Copyright 1991 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 "k5-int.h"
diff --git a/src/kim/lib/kim_credential.c b/src/kim/lib/kim_credential.c
index fe910cf..0a9f473 100644
--- a/src/kim/lib/kim_credential.c
+++ b/src/kim/lib/kim_credential.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_credential.c */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_credential_private.h b/src/kim/lib/kim_credential_private.h
index 3f30d6c..fb9bdbe 100644
--- a/src/kim/lib/kim_credential_private.h
+++ b/src/kim/lib/kim_credential_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_credential_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_debug.c b/src/kim/lib/kim_debug.c
index 1fe6582..8a1ecdf 100644
--- a/src/kim/lib/kim_debug.c
+++ b/src/kim/lib/kim_debug.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_debug.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_debug_private.h b/src/kim/lib/kim_debug_private.h
index 451bf34..f2aabba 100644
--- a/src/kim/lib/kim_debug_private.h
+++ b/src/kim/lib/kim_debug_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_debug_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_error_message.c b/src/kim/lib/kim_error_message.c
index d07ad19..39ee4c8 100644
--- a/src/kim/lib/kim_error_message.c
+++ b/src/kim/lib/kim_error_message.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_error_message.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_error_private.h b/src/kim/lib/kim_error_private.h
index e4aa272..56b41d4 100644
--- a/src/kim/lib/kim_error_private.h
+++ b/src/kim/lib/kim_error_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_error_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_identity.c b/src/kim/lib/kim_identity.c
index 6057263..0bbc8c5 100644
--- a/src/kim/lib/kim_identity.c
+++ b/src/kim/lib/kim_identity.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_identity.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_identity_private.h b/src/kim/lib/kim_identity_private.h
index 43c197d..dff8bbb 100644
--- a/src/kim/lib/kim_identity_private.h
+++ b/src/kim/lib/kim_identity_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_identity_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_library.c b/src/kim/lib/kim_library.c
index 78996d8..f4b996c 100644
--- a/src/kim/lib/kim_library.c
+++ b/src/kim/lib/kim_library.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_library.c */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_library_private.h b/src/kim/lib/kim_library_private.h
index 75ea4fd..f72e646 100644
--- a/src/kim/lib/kim_library_private.h
+++ b/src/kim/lib/kim_library_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_library_private.h */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_options.c b/src/kim/lib/kim_options.c
index 989c163..06e8e51 100644
--- a/src/kim/lib/kim_options.c
+++ b/src/kim/lib/kim_options.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_options.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_options_private.h b/src/kim/lib/kim_options_private.h
index 42a9d78..fc93c03 100644
--- a/src/kim/lib/kim_options_private.h
+++ b/src/kim/lib/kim_options_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_options_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_preferences.c b/src/kim/lib/kim_preferences.c
index 19ee903..55a41b7 100644
--- a/src/kim/lib/kim_preferences.c
+++ b/src/kim/lib/kim_preferences.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_preferences.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_preferences_private.h b/src/kim/lib/kim_preferences_private.h
index 1b7e247..28577a6 100644
--- a/src/kim/lib/kim_preferences_private.h
+++ b/src/kim/lib/kim_preferences_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_preferences_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_private.h b/src/kim/lib/kim_private.h
index 939279f..3cdb037 100644
--- a/src/kim/lib/kim_private.h
+++ b/src/kim/lib/kim_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_private.h */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_selection_hints_private.h b/src/kim/lib/kim_selection_hints_private.h
index 796116e..3d6c252 100644
--- a/src/kim/lib/kim_selection_hints_private.h
+++ b/src/kim/lib/kim_selection_hints_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_selection_hints_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_string.c b/src/kim/lib/kim_string.c
index 6cf18c4..910489d 100644
--- a/src/kim/lib/kim_string.c
+++ b/src/kim/lib/kim_string.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_string.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_string_private.h b/src/kim/lib/kim_string_private.h
index f6dba79..b776e8a 100644
--- a/src/kim/lib/kim_string_private.h
+++ b/src/kim/lib/kim_string_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_string_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui.c b/src/kim/lib/kim_ui.c
index b0e93f0..ae75788 100644
--- a/src/kim/lib/kim_ui.c
+++ b/src/kim/lib/kim_ui.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui_cli.c b/src/kim/lib/kim_ui_cli.c
index 0b258c3..5de19e9 100644
--- a/src/kim/lib/kim_ui_cli.c
+++ b/src/kim/lib/kim_ui_cli.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui_cli.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui_cli_private.h b/src/kim/lib/kim_ui_cli_private.h
index b66527a..9fb1034 100644
--- a/src/kim/lib/kim_ui_cli_private.h
+++ b/src/kim/lib/kim_ui_cli_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui_cli_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui_gui_private.h b/src/kim/lib/kim_ui_gui_private.h
index 2f0bdbc..5ccd4b6 100644
--- a/src/kim/lib/kim_ui_gui_private.h
+++ b/src/kim/lib/kim_ui_gui_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui_gui_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui_plugin.c b/src/kim/lib/kim_ui_plugin.c
index 94a455c..dd69f00 100644
--- a/src/kim/lib/kim_ui_plugin.c
+++ b/src/kim/lib/kim_ui_plugin.c
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui_plugin.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui_plugin_private.h b/src/kim/lib/kim_ui_plugin_private.h
index 9248e08..715635b 100644
--- a/src/kim/lib/kim_ui_plugin_private.h
+++ b/src/kim/lib/kim_ui_plugin_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui_plugin_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/kim_ui_private.h b/src/kim/lib/kim_ui_private.h
index b0a92dc..92b1efc 100644
--- a/src/kim/lib/kim_ui_private.h
+++ b/src/kim/lib/kim_ui_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/kim_ui_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/KerberosLogin.c b/src/kim/lib/mac/KerberosLogin.c
index 73d9b80..78f0ddd 100644
--- a/src/kim/lib/mac/KerberosLogin.c
+++ b/src/kim/lib/mac/KerberosLogin.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/KerberosLogin.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_debug.c b/src/kim/lib/mac/kim_os_debug.c
index b4d0db2..1119cb5 100644
--- a/src/kim/lib/mac/kim_os_debug.c
+++ b/src/kim/lib/mac/kim_os_debug.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_debug.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_identity.c b/src/kim/lib/mac/kim_os_identity.c
index c0f97b4..fd08c66 100644
--- a/src/kim/lib/mac/kim_os_identity.c
+++ b/src/kim/lib/mac/kim_os_identity.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_identity.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_library.c b/src/kim/lib/mac/kim_os_library.c
index edecf2b..ac9c4aa 100644
--- a/src/kim/lib/mac/kim_os_library.c
+++ b/src/kim/lib/mac/kim_os_library.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_library.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_preferences.c b/src/kim/lib/mac/kim_os_preferences.c
index 4cbac8b..7756f20 100644
--- a/src/kim/lib/mac/kim_os_preferences.c
+++ b/src/kim/lib/mac/kim_os_preferences.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_preferences.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_private.h b/src/kim/lib/mac/kim_os_private.h
index f14440d..e75586a 100644
--- a/src/kim/lib/mac/kim_os_private.h
+++ b/src/kim/lib/mac/kim_os_private.h
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_selection_hints.c b/src/kim/lib/mac/kim_os_selection_hints.c
index 27a6246..dec1a10 100644
--- a/src/kim/lib/mac/kim_os_selection_hints.c
+++ b/src/kim/lib/mac/kim_os_selection_hints.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_selection_hints.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_string.c b/src/kim/lib/mac/kim_os_string.c
index 944b8c9..1f27b79 100644
--- a/src/kim/lib/mac/kim_os_string.c
+++ b/src/kim/lib/mac/kim_os_string.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_string.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/lib/mac/kim_os_ui_gui.c b/src/kim/lib/mac/kim_os_ui_gui.c
index 5de8ef1..edc38ab 100644
--- a/src/kim/lib/mac/kim_os_ui_gui.c
+++ b/src/kim/lib/mac/kim_os_ui_gui.c
@@ -1,6 +1,5 @@
+/* kim/lib/mac/kim_os_ui_gui.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/main.c b/src/kim/test/main.c
index 8eb5a42..4bb91f5 100644
--- a/src/kim/test/main.c
+++ b/src/kim/test/main.c
@@ -1,6 +1,5 @@
+/* kim/test/main.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_common.c b/src/kim/test/test_kim_common.c
index e62a237..9615d10 100644
--- a/src/kim/test/test_kim_common.c
+++ b/src/kim/test/test_kim_common.c
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_common.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_common.h b/src/kim/test/test_kim_common.h
index 8364094..2845ecb 100644
--- a/src/kim/test/test_kim_common.h
+++ b/src/kim/test/test_kim_common.h
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_common.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_identity.c b/src/kim/test/test_kim_identity.c
index 81be6b1..0025201 100644
--- a/src/kim/test/test_kim_identity.c
+++ b/src/kim/test/test_kim_identity.c
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_identity.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_identity.h b/src/kim/test/test_kim_identity.h
index cb7b290..b8504d6 100644
--- a/src/kim/test/test_kim_identity.h
+++ b/src/kim/test/test_kim_identity.h
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_identity.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_preferences.c b/src/kim/test/test_kim_preferences.c
index 967cbc0..8f05da0 100644
--- a/src/kim/test/test_kim_preferences.c
+++ b/src/kim/test/test_kim_preferences.c
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_preferences.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_preferences.h b/src/kim/test/test_kim_preferences.h
index d097d7e..bf7397a 100644
--- a/src/kim/test/test_kim_preferences.h
+++ b/src/kim/test/test_kim_preferences.h
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_preferences.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_selection_hints.c b/src/kim/test/test_kim_selection_hints.c
index 655980e..4b5d90a 100644
--- a/src/kim/test/test_kim_selection_hints.c
+++ b/src/kim/test/test_kim_selection_hints.c
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_selection_hints.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_kim_selection_hints.h b/src/kim/test/test_kim_selection_hints.h
index 1bc0ce0..babf27e 100644
--- a/src/kim/test/test_kim_selection_hints.h
+++ b/src/kim/test/test_kim_selection_hints.h
@@ -1,6 +1,5 @@
+/* kim/test/test_kim_selection_hints.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/kim/test/test_ui_plugin.c b/src/kim/test/test_ui_plugin.c
index a37fa7f..e2f1010 100644
--- a/src/kim/test/test_ui_plugin.c
+++ b/src/kim/test/test_ui_plugin.c
@@ -1,6 +1,5 @@
+/* kim/test/test_ui_plugin.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/apputils/daemon.c b/src/lib/apputils/daemon.c
index f084396..a3d7cd7 100644
--- a/src/lib/apputils/daemon.c
+++ b/src/lib/apputils/daemon.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-/*-
+/*
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
diff --git a/src/lib/apputils/net-server.c b/src/lib/apputils/net-server.c
index 2439f2c..abb94dd 100644
--- a/src/lib/apputils/net-server.c
+++ b/src/lib/apputils/net-server.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/apputils/net-server.c - Network code for krb5 servers (kdc, kadmind) */
/*
- * lib/apputils/net-server.c
- *
* Copyright 1990,2000,2007,2008,2009,2010 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Network code for Kerberos v5 servers (kdc, kadmind).
*/
#include "k5-int.h"
diff --git a/src/lib/crypto/builtin/aes/aes.h b/src/lib/crypto/builtin/aes/aes.h
index 6009b98..7621904 100644
--- a/src/lib/crypto/builtin/aes/aes.h
+++ b/src/lib/crypto/builtin/aes/aes.h
@@ -1,33 +1,34 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
-
- This file contains the definitions required to use AES (Rijndael) in C.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the definitions required to use AES (Rijndael) in C.
+ */
#ifndef _AES_H
#define _AES_H
diff --git a/src/lib/crypto/builtin/aes/aescpp.h b/src/lib/crypto/builtin/aes/aescpp.h
index c81dfa6..d556224 100644
--- a/src/lib/crypto/builtin/aes/aescpp.h
+++ b/src/lib/crypto/builtin/aes/aescpp.h
@@ -1,31 +1,32 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * TERMS
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted subject to the following conditions:
+ *
+ * 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.
+ *
+ * 3. The copyright holder's name must not be used to endorse or promote
+ * any products derived from this software without his specific prior
+ * written permission.
+ *
+ * This software is provided 'as is' with no express or implied warranties
+ * of correctness or fitness for purpose.
+ */
- TERMS
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted subject to the following conditions:
-
- 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.
-
- 3. The copyright holder's name must not be used to endorse or promote
- any products derived from this software without his specific prior
- written permission.
-
- This software is provided 'as is' with no express or implied warranties
- of correctness or fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
-
- This file contains the definitions required to use AES (Rijndael) in C++.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the definitions required to use AES (Rijndael) in C++.
+ */
#ifndef _AESCPP_H
#define _AESCPP_H
diff --git a/src/lib/crypto/builtin/aes/aescrypp.c b/src/lib/crypto/builtin/aes/aescrypp.c
index c1608df..1f1cf63 100644
--- a/src/lib/crypto/builtin/aes/aescrypp.c
+++ b/src/lib/crypto/builtin/aes/aescrypp.c
@@ -1,35 +1,36 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This file contains the code for implementing encryption and decryption
- for AES (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
- It can optionally be replaced by code written in assembler using NASM.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing encryption and decryption
+ * for AES (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
+ * It can optionally be replaced by code written in assembler using NASM.
+ */
#include "aesopt.h"
diff --git a/src/lib/crypto/builtin/aes/aescrypt.c b/src/lib/crypto/builtin/aes/aescrypt.c
index 2704b89..194f8e5 100644
--- a/src/lib/crypto/builtin/aes/aescrypt.c
+++ b/src/lib/crypto/builtin/aes/aescrypt.c
@@ -1,34 +1,35 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This file contains the code for implementing encryption and decryption
- for AES (Rijndael) for block and key sizes of 16, 24 and 32 bytes. It
- can optionally be replaced by code written in assembler using NASM.
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing encryption and decryption
+ * for AES (Rijndael) for block and key sizes of 16, 24 and 32 bytes. It
+ * can optionally be replaced by code written in assembler using NASM.
*/
#include "aesopt.h"
diff --git a/src/lib/crypto/builtin/aes/aeskey.c b/src/lib/crypto/builtin/aes/aeskey.c
index 36b6404..8402b50 100644
--- a/src/lib/crypto/builtin/aes/aeskey.c
+++ b/src/lib/crypto/builtin/aes/aeskey.c
@@ -1,34 +1,35 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
-
- This file contains the code for implementing the key schedule for AES
- (Rijndael) for block and key sizes of 16, 24, and 32 bytes.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing the key schedule for AES
+ * (Rijndael) for block and key sizes of 16, 24, and 32 bytes.
+ */
#include "aesopt.h"
diff --git a/src/lib/crypto/builtin/aes/aeskeypp.c b/src/lib/crypto/builtin/aes/aeskeypp.c
index 589d7a3..cd9c5a7 100644
--- a/src/lib/crypto/builtin/aes/aeskeypp.c
+++ b/src/lib/crypto/builtin/aes/aeskeypp.c
@@ -1,34 +1,35 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This file contains the code for implementing the key schedule for AES
- (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing the key schedule for AES
+ * (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
+ */
#include "aesopt.h"
diff --git a/src/lib/crypto/builtin/aes/aesopt.h b/src/lib/crypto/builtin/aes/aesopt.h
index ede89f6..6588b7f 100644
--- a/src/lib/crypto/builtin/aes/aesopt.h
+++ b/src/lib/crypto/builtin/aes/aesopt.h
@@ -1,29 +1,30 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
+/*
Issue Date: 07/02/2002
This file contains the compilation options for AES (Rijndael) and code
diff --git a/src/lib/crypto/builtin/aes/aestab.c b/src/lib/crypto/builtin/aes/aestab.c
index 7902887..ef182d6 100644
--- a/src/lib/crypto/builtin/aes/aestab.c
+++ b/src/lib/crypto/builtin/aes/aestab.c
@@ -1,31 +1,30 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 07/02/2002
-*/
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
+
+/* Issue Date: 07/02/2002 */
#include "aesopt.h"
diff --git a/src/lib/crypto/builtin/aes/uitypes.h b/src/lib/crypto/builtin/aes/uitypes.h
index fe8f9ba..563139f 100644
--- a/src/lib/crypto/builtin/aes/uitypes.h
+++ b/src/lib/crypto/builtin/aes/uitypes.h
@@ -1,34 +1,35 @@
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 01/02/2002
-
- This file contains code to obtain or set the definitions for fixed length
- unsigned integer types.
-*/
+/*
+ * Issue Date: 01/02/2002
+ *
+ * This file contains code to obtain or set the definitions for fixed length
+ * unsigned integer types.
+ */
#ifndef _UITYPES_H
#define _UITYPES_H
diff --git a/src/lib/crypto/builtin/camellia/camellia.c b/src/lib/crypto/builtin/camellia/camellia.c
index 30998d0..222b662 100644
--- a/src/lib/crypto/builtin/camellia/camellia.c
+++ b/src/lib/crypto/builtin/camellia/camellia.c
@@ -1,5 +1,5 @@
-/* camellia.c ver 1.2.0
- *
+/* lib/crypto/builtin/camellia/camellia.c - Camellia version 1.2.0 */
+/*
* Copyright (c) 2006,2007,2009
* NTT (Nippon Telegraph and Telephone Corporation) . All rights reserved.
*
diff --git a/src/lib/crypto/builtin/camellia/camellia.h b/src/lib/crypto/builtin/camellia/camellia.h
index a2afc62..1e59a2e 100644
--- a/src/lib/crypto/builtin/camellia/camellia.h
+++ b/src/lib/crypto/builtin/camellia/camellia.h
@@ -1,5 +1,5 @@
-/* camellia.h ver 1.2.0
- *
+/* lib/crypto/builtin/camellia/camellia.h - Camellia version 1.2.0 */
+/*
* Copyright (c) 2006,2007,2009
* NTT (Nippon Telegraph and Telephone Corporation) . All rights reserved.
*
diff --git a/src/lib/crypto/builtin/des/afsstring2key.c b/src/lib/crypto/builtin/des/afsstring2key.c
index 701b50a..03fbaba 100644
--- a/src/lib/crypto/builtin/des/afsstring2key.c
+++ b/src/lib/crypto/builtin/des/afsstring2key.c
@@ -1,15 +1,7 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/afsstring2key.c */
/*
- * lib/crypto/des/string2key.c
- *
- * based on lib/crypto/des/string2key.c from MIT V5
- * and on lib/des/afs_string_to_key.c from UMD.
- * constructed by Mark Eichin, Cygnus Support, 1995.
- * made thread-safe by Ken Raeburn, MIT, 2001.
- */
-
-/*
- * Copyright 2001 by the Massachusetts Institute of Technology.
+ * Copyright 1989, 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
@@ -31,7 +23,6 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -57,6 +48,34 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/*
+ * Copyright (c) 1990 Regents of The University of Michigan.
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * and its documentation for any purpose and without fee is hereby
+ * granted, 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
+ * The University of Michigan not be used in advertising or
+ * publicity pertaining to distribution of the software without
+ * specific, written prior permission. This software is supplied as
+ * is without expressed or implied warranties of any kind.
+ *
+ * ITD Research Systems
+ * University of Michigan
+ * 535 W. William Street
+ * Ann Arbor, Michigan
+ * +1-313-936-2652
+ * netatalk@terminator.cc.umich.edu
+ */
+
+/*
+ * based on lib/crypto/des/string2key.c from MIT V5
+ * and on lib/des/afs_string_to_key.c from UMD.
+ * constructed by Mark Eichin, Cygnus Support, 1995.
+ * made thread-safe by Ken Raeburn, MIT, 2001.
+ */
#include "crypto_int.h"
#include "des_int.h"
@@ -159,33 +178,6 @@ mit_afs_string_to_key(krb5_keyblock *keyblock, const krb5_data *data,
return 0;
}
-
-/* Portions of this code:
- Copyright 1989 by the Massachusetts Institute of Technology
-*/
-
-/*
- * Copyright (c) 1990 Regents of The University of Michigan.
- * All Rights Reserved.
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for any purpose and without fee is hereby
- * granted, 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
- * The University of Michigan not be used in advertising or
- * publicity pertaining to distribution of the software without
- * specific, written prior permission. This software is supplied as
- * is without expressed or implied warranties of any kind.
- *
- * ITD Research Systems
- * University of Michigan
- * 535 W. William Street
- * Ann Arbor, Michigan
- * +1-313-936-2652
- * netatalk@terminator.cc.umich.edu
- */
-
static void krb5_afs_crypt_setkey (char*, char*, char(*)[48]);
static void krb5_afs_encrypt (char*,char*,char (*)[48]);
diff --git a/src/lib/crypto/builtin/des/des_int.h b/src/lib/crypto/builtin/des/des_int.h
index d3a7cc9..8519ad1 100644
--- a/src/lib/crypto/builtin/des/des_int.h
+++ b/src/lib/crypto/builtin/des/des_int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/des_int.h */
/*
- * lib/crypto/des/des_int.h
- *
* Copyright 1987, 1988, 1990, 2002 by the Massachusetts Institute of
* Technology. All Rights Reserved.
*
@@ -23,11 +22,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.
- *
- *
- * Private include file for the Data Encryption Standard library.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -54,6 +49,8 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/* Private include file for the Data Encryption Standard library. */
+
/* only do the whole thing once */
#ifndef DES_INTERNAL_DEFS
#define DES_INTERNAL_DEFS
diff --git a/src/lib/crypto/builtin/des/destest.c b/src/lib/crypto/builtin/des/destest.c
index 0af9654..85d37f6 100644
--- a/src/lib/crypto/builtin/des/destest.c
+++ b/src/lib/crypto/builtin/des/destest.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/destest.c */
/*
- * lib/crypto/des/destest.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,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.
- *
- *
- * Test a DES implementation against known inputs & outputs
*/
-
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -55,6 +49,8 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/* Test a DES implementation against known inputs & outputs. */
+
#include "des_int.h"
#include "crypto_int.h"
#include <stdio.h>
diff --git a/src/lib/crypto/builtin/des/f_cbc.c b/src/lib/crypto/builtin/des/f_cbc.c
index 887740b..84d5382 100644
--- a/src/lib/crypto/builtin/des/f_cbc.c
+++ b/src/lib/crypto/builtin/des/f_cbc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_cbc.c */
/*
- * lib/crypto/des/f_cbc.c
- *
* Copyright (C) 1990 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.
- *
+ */
+
+/*
* CBC functions; used only by the test programs at this time. (krb5 uses the
* functions in f_aead.c instead.)
*/
diff --git a/src/lib/crypto/builtin/des/f_cksum.c b/src/lib/crypto/builtin/des/f_cksum.c
index 09ac4a0..4492ce6 100644
--- a/src/lib/crypto/builtin/des/f_cksum.c
+++ b/src/lib/crypto/builtin/des/f_cksum.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_cksum.c */
/*
- * lib/crypto/des/f_cksum.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,10 +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.
- *
- * DES implementation donated by Dennis Ferguson
*/
+/* DES implementation donated by Dennis Ferguson */
+
/*
* des_cbc_cksum.c - compute an 8 byte checksum using DES in CBC mode
*/
diff --git a/src/lib/crypto/builtin/des/f_sched.c b/src/lib/crypto/builtin/des/f_sched.c
index af9d66b..89d820f 100644
--- a/src/lib/crypto/builtin/des/f_sched.c
+++ b/src/lib/crypto/builtin/des/f_sched.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_sched.c */
/*
- * lib/crypto/des/f_sched.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,10 +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.
- *
- * DES implementation donated by Dennis Ferguson
*/
+/* DES implementation donated by Dennis Ferguson */
+
/*
* des_make_sched.c - permute a DES key, returning the resulting key schedule
*/
diff --git a/src/lib/crypto/builtin/des/f_tables.c b/src/lib/crypto/builtin/des/f_tables.c
index 9470b2b..6308cb0 100644
--- a/src/lib/crypto/builtin/des/f_tables.c
+++ b/src/lib/crypto/builtin/des/f_tables.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_tables.c */
/*
- * lib/crypto/des/f_tables.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,10 +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.
- *
- * DES implementation donated by Dennis Ferguson
*/
+/* DES implementation donated by Dennis Ferguson */
+
/*
* des_tables.c - precomputed tables used for the DES cipher function
*/
diff --git a/src/lib/crypto/builtin/des/f_tables.h b/src/lib/crypto/builtin/des/f_tables.h
index 556bffd..c0a99ea 100644
--- a/src/lib/crypto/builtin/des/f_tables.h
+++ b/src/lib/crypto/builtin/des/f_tables.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_tables.h */
/*
- * lib/crypto/des/f_tables.h
- *
* Copyright (C) 1990 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.
- *
+ */
+
+/*
* DES implementation donated by Dennis Ferguson
*/
diff --git a/src/lib/crypto/builtin/des/key_sched.c b/src/lib/crypto/builtin/des/key_sched.c
index 2be5586..87f02b6 100644
--- a/src/lib/crypto/builtin/des/key_sched.c
+++ b/src/lib/crypto/builtin/des/key_sched.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/key_sched.c */
/*
- * lib/crypto/des/key_sched.c
- *
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
* All Rights Reserved.
@@ -24,8 +23,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.
- *
- *
+ */
+
+/*
* This routine computes the DES key schedule given a key. The
* permutations and shifts have been done at compile time, resulting
* in a direct one-step mapping from the input key to the key
diff --git a/src/lib/crypto/builtin/des/string2key.c b/src/lib/crypto/builtin/des/string2key.c
index 8941936..a937d6f 100644
--- a/src/lib/crypto/builtin/des/string2key.c
+++ b/src/lib/crypto/builtin/des/string2key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/string2key.c */
/*
- * lib/crypto/des/des_s2k.c
- *
* Copyright 2004, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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.
- *
- *
- * Compute encryption key from salt and pass phrase.
*/
+/* Compute encryption key from salt and pass phrase. */
+
#include "crypto_int.h"
#include "des_int.h"
diff --git a/src/lib/crypto/builtin/des/t_verify.c b/src/lib/crypto/builtin/des/t_verify.c
index ae31207..1f3239f 100644
--- a/src/lib/crypto/builtin/des/t_verify.c
+++ b/src/lib/crypto/builtin/des/t_verify.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/t_verify.c */
/*
- * lib/crypto/des/verify.c
- *
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,15 +22,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.
- *
- *
- * Program to test the correctness of the DES library
- * implementation.
- *
- * exit returns 0 ==> success
- * -1 ==> error
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -58,6 +49,15 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/*
+ *
+ * Program to test the correctness of the DES library
+ * implementation.
+ *
+ * exit returns 0 ==> success
+ * -1 ==> error
+ */
+
#include "k5-int.h"
#include "des_int.h"
#include <stdio.h>
diff --git a/src/lib/crypto/builtin/des/weak_key.c b/src/lib/crypto/builtin/des/weak_key.c
index 921ce10..eb41b26 100644
--- a/src/lib/crypto/builtin/des/weak_key.c
+++ b/src/lib/crypto/builtin/des/weak_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/weak_key.c */
/*
- * lib/crypto/des/weak_key.c
- *
* Copyright 1989,1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Under U.S. law, this software may not be exported outside the US
* without license from the U.S. Commerce department.
*
diff --git a/src/lib/crypto/builtin/enc_provider/aes.c b/src/lib/crypto/builtin/enc_provider/aes.c
index e1f7eca..1809cd0 100644
--- a/src/lib/crypto/builtin/enc_provider/aes.c
+++ b/src/lib/crypto/builtin/enc_provider/aes.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/enc_provider/aes.c */
/*
- * lib/crypto/enc_provider/aes.c
- *
* Copyright (C) 2003, 2007, 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/builtin/enc_provider/camellia.c b/src/lib/crypto/builtin/enc_provider/camellia.c
index 1672342..9a8e491 100644
--- a/src/lib/crypto/builtin/enc_provider/camellia.c
+++ b/src/lib/crypto/builtin/enc_provider/camellia.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/enc_provider/camellia.c - Camellia enc provider definition */
+/* lib/crypto/builtin/enc_provider/camellia.c - Camellia enc provider */
/*
* Copyright (C) 2009, 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
diff --git a/src/lib/crypto/builtin/enc_provider/rc4.c b/src/lib/crypto/builtin/enc_provider/rc4.c
index 1325556..dc78837 100644
--- a/src/lib/crypto/builtin/enc_provider/rc4.c
+++ b/src/lib/crypto/builtin/enc_provider/rc4.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* arcfour.c
- *
+/* lib/crypto/builtin/enc_provider/rc4.c */
+/*
* Copyright (c) 2000 by Computer Science Laboratory,
* Rensselaer Polytechnic Institute
*
diff --git a/src/lib/crypto/builtin/init.c b/src/lib/crypto/builtin/init.c
index cc35ba7..b88d5de 100644
--- a/src/lib/crypto/builtin/init.c
+++ b/src/lib/crypto/builtin/init.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/init.c - Module init and cleanup functions */
/*
- * lib/crypto/builtin/init.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Built-in back-end library init functions
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/builtin/md4/md4.c b/src/lib/crypto/builtin/md4/md4.c
index 6850e13..27d2ad5 100644
--- a/src/lib/crypto/builtin/md4/md4.c
+++ b/src/lib/crypto/builtin/md4/md4.c
@@ -1,6 +1,26 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/md4/md4.c */
+
/*
- * lib/crypto/md4/md4.c
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
/*
@@ -12,30 +32,6 @@
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
#include "k5-int.h"
#include "rsa-md4.h"
diff --git a/src/lib/crypto/builtin/md4/rsa-md4.h b/src/lib/crypto/builtin/md4/rsa-md4.h
index 408f2ef..c404e15 100644
--- a/src/lib/crypto/builtin/md4/rsa-md4.h
+++ b/src/lib/crypto/builtin/md4/rsa-md4.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/md4/rsa-md4.h */
/*
- * lib/crypto/md4/rsa-md4.h
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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.
+ */
+/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
*
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
*
- * RSA MD4 header file, with Kerberos/STDC additions.
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
+/* RSA MD4 header file, with Kerberos/STDC additions. */
+
#ifndef __KRB5_RSA_MD4_H__
#define __KRB5_RSA_MD4_H__
@@ -51,30 +70,6 @@
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
/* Data structure for MD4 (Message Digest) computation */
typedef struct {
krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
diff --git a/src/lib/crypto/builtin/md5/md5.c b/src/lib/crypto/builtin/md5/md5.c
index 7e06aa6..4a16906 100644
--- a/src/lib/crypto/builtin/md5/md5.c
+++ b/src/lib/crypto/builtin/md5/md5.c
@@ -1,5 +1,27 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD5 Message-
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD5 Message-Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+/*
***********************************************************************
** md5.c -- the source code for MD5 routines **
** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
@@ -12,30 +34,6 @@
* Modified by John Carr, MIT, to use Kerberos 5 typedefs.
*/
-/*
-***********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD5 Message- **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-***********************************************************************
-*/
-
#include "k5-int.h"
#include "rsa-md5.h"
diff --git a/src/lib/crypto/builtin/md5/rsa-md5.h b/src/lib/crypto/builtin/md5/rsa-md5.h
index 11a4fc3..cbdf67c 100644
--- a/src/lib/crypto/builtin/md5/rsa-md5.h
+++ b/src/lib/crypto/builtin/md5/rsa-md5.h
@@ -1,5 +1,27 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD5 Message-
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD5 Message-Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+/*
***********************************************************************
** md5.h -- header file for implementation of MD5 **
** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
@@ -14,30 +36,6 @@
***********************************************************************
*/
-/*
-***********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD5 Message- **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-***********************************************************************
-*/
-
#ifndef KRB5_RSA_MD5__
#define KRB5_RSA_MD5__
diff --git a/src/lib/crypto/builtin/pbkdf2.c b/src/lib/crypto/builtin/pbkdf2.c
index ce721c9..5c483b1 100644
--- a/src/lib/crypto/builtin/pbkdf2.c
+++ b/src/lib/crypto/builtin/pbkdf2.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/pbkdf2.c - Implementation of PBKDF2 from RFC 2898 */
/*
- * lib/crypto/pbkdf2.c
- *
* Copyright 2002, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Implementation of PBKDF2 from RFC 2898.
*/
#include <ctype.h>
diff --git a/src/lib/crypto/builtin/sha2/t_sha256.c b/src/lib/crypto/builtin/sha2/t_sha256.c
index 4facb0f..c2da381 100644
--- a/src/lib/crypto/builtin/sha2/t_sha256.c
+++ b/src/lib/crypto/builtin/sha2/t_sha256.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/builtin/t_sha256.c */
+/* lib/crypto/builtin/sha2/t_sha256.c */
/*
* Copyright (c) 1995 - 2002 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
diff --git a/src/lib/crypto/crypto_tests/aes-test.c b/src/lib/crypto/crypto_tests/aes-test.c
index b86b5ab..1ed033b 100644
--- a/src/lib/crypto/crypto_tests/aes-test.c
+++ b/src/lib/crypto/crypto_tests/aes-test.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/aes-test.c */
/*
- * lib/crypto/aes/aes-test.c
- *
* Copyright (C) 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Subset of NIST tests for AES; specifically, the variable-key and
* variable-text tests for 128- and 256-bit keys.
*/
diff --git a/src/lib/crypto/crypto_tests/camellia-test.c b/src/lib/crypto/crypto_tests/camellia-test.c
index a845873..9975d4d 100644
--- a/src/lib/crypto/crypto_tests/camellia-test.c
+++ b/src/lib/crypto/crypto_tests/camellia-test.c
@@ -1,6 +1,5 @@
+/* lib/crypto/crypto_tests/camellia-test.c */
/*
- * lib/crypto/camellia/camellia-test.c
- *
* Copyright (c) 2009
* NTT (Nippon Telegraph and Telephone Corporation) . All rights reserved.
*
diff --git a/src/lib/crypto/crypto_tests/t_cf2.c b/src/lib/crypto/crypto_tests/t_cf2.c
index 550192c..3254e97 100644
--- a/src/lib/crypto/crypto_tests/t_cf2.c
+++ b/src/lib/crypto/crypto_tests/t_cf2.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cf2.c */
/*
- * lib/crypto/t_cf2.c
- *
* Copyright (C) 2004, 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,18 +22,23 @@
* 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.
+ */
+
+/*
+ * This file contains tests for the KRB-FX-CF2 code in Kerberos, based on the
+ * PRF regression tests. It reads an input file, and writes an output file.
+ * It is assumed that the output file will be diffed against expected output to
+ * see whether regression tests pass. The input file is a very primitive
+ * format.
+ *
+ * Line 1: enctype
+ * Line 2: key to pass to string2key; also used as salt
+ * Line 3: second key to pass to string2key
+ * Line 4: pepper1
+ * Line 5: pepper2
*
- * This file contains tests for theKRB-FX-CF2 code in Kerberos, based
- *on the PRF regression tests. It reads an input file, and writes an
- *output file. It is assumed that the output file will be diffed
- *against expected output to see whether regression tests pass. The
- *input file is a very primitive format.
- *First line: enctype
- *second line: key to pass to string2key; also used as salt
- *Third line: second key to pass to string2key
- *fourth line: pepper1
- *fifth line: pepper2
- *scanf is used to read the file, so interior spaces are not permitted. The program outputs the hex bytes of the key.
+ * scanf is used to read the file, so interior spaces are not permitted. The
+ * program outputs the hex bytes of the key.
*/
#include <krb5.h>
diff --git a/src/lib/crypto/crypto_tests/t_cksum.c b/src/lib/crypto/crypto_tests/t_cksum.c
index c4f22bc..2200fe7 100644
--- a/src/lib/crypto/crypto_tests/t_cksum.c
+++ b/src/lib/crypto/crypto_tests/t_cksum.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cksum.c */
/*
- * lib/crypto/md5/t_cksum.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +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.
- *
*/
-/*
- * t_cksum.c - Test checksum and checksum compatability for rsa-md[4,5]-des
- */
+/* Test checksum and checksum compatability for rsa-md[4,5]-des. */
#include "k5-int.h"
diff --git a/src/lib/crypto/crypto_tests/t_cksums.c b/src/lib/crypto/crypto_tests/t_cksums.c
index 868d91b..7e9df72 100644
--- a/src/lib/crypto/crypto_tests/t_cksums.c
+++ b/src/lib/crypto/crypto_tests/t_cksums.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/crypto-tests/t_cksums.c - Test known checksum results */
+/* lib/crypto/crypto_tests/t_cksums.c - Test known checksum results */
/*
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
diff --git a/src/lib/crypto/crypto_tests/t_cmac.c b/src/lib/crypto/crypto_tests/t_cmac.c
index c140f24..7a4b3ae 100644
--- a/src/lib/crypto/crypto_tests/t_cmac.c
+++ b/src/lib/crypto/crypto_tests/t_cmac.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cmac.c */
/*
- * lib/crypto/t_cmac.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Test vectors for CMAC. Inputs are taken from RFC 4493 section 4. Outputs
* are changed for the use of Camellia-128 in place of AES-128.
*
diff --git a/src/lib/crypto/crypto_tests/t_crc.c b/src/lib/crypto/crypto_tests/t_crc.c
index 500e020..7161fb0 100644
--- a/src/lib/crypto/crypto_tests/t_crc.c
+++ b/src/lib/crypto/crypto_tests/t_crc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_crc.c */
/*
- * lib/crypto/crc32/t_crc.c
- *
* Copyright 2002,2005 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.
- *
+ */
+
+/*
* Sanity checks for CRC32.
*/
#include <sys/times.h>
diff --git a/src/lib/crypto/crypto_tests/t_cts.c b/src/lib/crypto/crypto_tests/t_cts.c
index 39aef9d..f2a3012 100644
--- a/src/lib/crypto/crypto_tests/t_cts.c
+++ b/src/lib/crypto/crypto_tests/t_cts.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cts.c */
/*
- * lib/crypto/vectors.c
- *
* Copyright 2001, 2007 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.
- *
+ */
+
+/*
*
* Test vectors for crypto code, matching data submitted for inclusion
* with RFC1510bis.
diff --git a/src/lib/crypto/crypto_tests/t_encrypt.c b/src/lib/crypto/crypto_tests/t_encrypt.c
index db75e22..580120b 100644
--- a/src/lib/crypto/crypto_tests/t_encrypt.c
+++ b/src/lib/crypto/crypto_tests/t_encrypt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_encrypt.c */
/*
- * lib/crypto/t_encrypt.c
- *
* Copyright 2001, 2008 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.
- *
+ */
+
+/*
*
* <<< Description >>>
*/
diff --git a/src/lib/crypto/crypto_tests/t_hmac.c b/src/lib/crypto/crypto_tests/t_hmac.c
index 1f5cae5..02168e5 100644
--- a/src/lib/crypto/crypto_tests/t_hmac.c
+++ b/src/lib/crypto/crypto_tests/t_hmac.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_hmac.c */
/*
- * lib/crypto/t_hmac.c
- *
* Copyright 2001,2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Test vectors for HMAC-MD5 and HMAC-SHA1 (placeholder only).
* Tests taken from RFC 2202.
*/
diff --git a/src/lib/crypto/crypto_tests/t_kperf.c b/src/lib/crypto/crypto_tests/t_kperf.c
index a07a364..68956bf 100644
--- a/src/lib/crypto/crypto_tests/t_kperf.c
+++ b/src/lib/crypto/crypto_tests/t_kperf.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_kperf.c */
/*
- * lib/crypto/crypto_tests/t_kperf.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/crypto_tests/t_mdcksum.c b/src/lib/crypto/crypto_tests/t_mdcksum.c
index 0b8a4fe..2ed78a1 100644
--- a/src/lib/crypto/crypto_tests/t_mdcksum.c
+++ b/src/lib/crypto/crypto_tests/t_mdcksum.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_mdcksum.c */
/*
- * lib/crypto/md5/t_cksum.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +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.
- *
*/
-/*
- * t_cksum.c - Test checksum and checksum compatability for rsa-md[4,5]-des
- */
+/* Test checksum and checksum compatability for rsa-md[4,5]-des. */
#ifndef MD
#define MD 5
diff --git a/src/lib/crypto/crypto_tests/t_mddriver.c b/src/lib/crypto/crypto_tests/t_mddriver.c
index 59b4a48..ad65d03 100644
--- a/src/lib/crypto/crypto_tests/t_mddriver.c
+++ b/src/lib/crypto/crypto_tests/t_mddriver.c
@@ -1,19 +1,18 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* MDDRIVER.C - test driver for MD2, MD4 and MD5
+/* lib/crypto/crypto_tests/t_mddriver.c - test driver for MD2, MD4 and MD5 */
+/*
+ * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
+ * rights reserved.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
-/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
- rights reserved.
-
- RSA Data Security, Inc. makes no representations concerning either
- the merchantability of this software or the suitability of this
- software for any particular purpose. It is provided "as is"
- without express or implied warranty of any kind.
-
- These notices must be retained in any copies of any part of this
- documentation and/or software.
-*/
-
/* The following makes MD default to MD5 if it has not already been
defined with C compiler flags.
*/
diff --git a/src/lib/crypto/crypto_tests/t_nfold.c b/src/lib/crypto/crypto_tests/t_nfold.c
index f9e36e5..6fa644a 100644
--- a/src/lib/crypto/crypto_tests/t_nfold.c
+++ b/src/lib/crypto/crypto_tests/t_nfold.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_nfold.c - Test nfold implementation correctness */
/*
- * lib/crypto/t_nfold.c
- *
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +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.
- *
- *
- * Program to test the correctness of nfold implementation.
- *
- * exit returns 0 ==> success
- * -1 ==> error
*/
#include <stdio.h>
diff --git a/src/lib/crypto/crypto_tests/t_pkcs5.c b/src/lib/crypto/crypto_tests/t_pkcs5.c
index 34d884f..7ab078d 100644
--- a/src/lib/crypto/crypto_tests/t_pkcs5.c
+++ b/src/lib/crypto/crypto_tests/t_pkcs5.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_pkcs5.c */
/*
- * lib/crypto/t_pkcs5.c
- *
* Copyright 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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.
- *
- *
- * Test vectors for PBKDF2 (from PKCS #5v2), based on RFC 3211.
*/
+/* Test vectors for PBKDF2 (from PKCS #5v2), based on RFC 3211. */
+
#include <assert.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/lib/crypto/crypto_tests/t_prf.c b/src/lib/crypto/crypto_tests/t_prf.c
index d9ac3d8..8386427 100644
--- a/src/lib/crypto/crypto_tests/t_prf.c
+++ b/src/lib/crypto/crypto_tests/t_prf.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_prf.c */
/*
- * lib/crypto/t_prf.c
- *
* Copyright (C) 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.
- *
+ */
+
+/*
* This file contains tests for the PRF code in Kerberos. IT reads an
* input file, and writes an output file. It is assumed that the
* output file will be diffed against expected output to see whether
diff --git a/src/lib/crypto/crypto_tests/t_prng.c b/src/lib/crypto/crypto_tests/t_prng.c
index 634667a..196c41f 100644
--- a/src/lib/crypto/crypto_tests/t_prng.c
+++ b/src/lib/crypto/crypto_tests/t_prng.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_prng.c */
/*
- * lib/crypto/t_prng.c
- *
* Copyright (C) 2001 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.
- *
+ */
+
+/*
* This file contains tests for the PRNG code in Kerberos. It reads
* an input file, and writes an output file. It is assumed that the
* output file will be diffed against expected output to see whether
diff --git a/src/lib/crypto/crypto_tests/t_short.c b/src/lib/crypto/crypto_tests/t_short.c
index 7f9f3ad..2952066 100644
--- a/src/lib/crypto/crypto_tests/t_short.c
+++ b/src/lib/crypto/crypto_tests/t_short.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_short.c */
/*
- * lib/crypto/crypto_tests/t_short.c
- *
* Copyright (C) 2009 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.
- *
+ */
+
+/*
* Tests the outcome of decrypting overly short tokens. This program can be
* run under a tool like valgrind to detect bad memory accesses; when run
* normally by the test suite, it verifies that each operation returns
diff --git a/src/lib/crypto/crypto_tests/t_str2key.c b/src/lib/crypto/crypto_tests/t_str2key.c
index 79e0e85..85a7a9f 100644
--- a/src/lib/crypto/crypto_tests/t_str2key.c
+++ b/src/lib/crypto/crypto_tests/t_str2key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_str2key.c */
/*
- * lib/crypto/crypto_tests/t_str2key.c
- *
* Copyright (C) 2010 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.
- *
+ */
+
+/*
*
* String-to-key test vectors
*/
diff --git a/src/lib/crypto/crypto_tests/vectors.c b/src/lib/crypto/crypto_tests/vectors.c
index 8e97287..482d2de 100644
--- a/src/lib/crypto/crypto_tests/vectors.c
+++ b/src/lib/crypto/crypto_tests/vectors.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/vectors.c */
/*
- * lib/crypto/vectors.c
- *
* Copyright 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Test vectors for crypto code, matching data submitted for inclusion
* with RFC1510bis.
*
diff --git a/src/lib/crypto/krb/aead.c b/src/lib/crypto/krb/aead.c
index 2bb341c..7bfed4b 100644
--- a/src/lib/crypto/krb/aead.c
+++ b/src/lib/crypto/krb/aead.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/aead.c */
/*
- * lib/crypto/aead.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/cf2.c b/src/lib/crypto/krb/cf2.c
index 0299161..7c2e965 100644
--- a/src/lib/crypto/krb/cf2.c
+++ b/src/lib/crypto/krb/cf2.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/cf2.c */
/*
- * lib/crypto/cf2.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,12 +22,11 @@
* 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.
- *
- *
- *
- * Implement KRB_FX_CF2 function per
- *draft-ietf-krb-wg-preauth-framework-09. Take two keys and two
- *pepper strings as input and return a combined key.
+ */
+
+/*
+ * Implement KRB_FX_CF2 function per draft-ietf-krb-wg-preauth-framework-09.
+ * Take two keys and two pepper strings as input and return a combined key.
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/checksum_cbc.c b/src/lib/crypto/krb/checksum_cbc.c
index 3a8c0bc..48afeb0 100644
--- a/src/lib/crypto/krb/checksum_cbc.c
+++ b/src/lib/crypto/krb/checksum_cbc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_cbc.c */
/*
- * lib/crypto/krb/checksum/cbc.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,11 +22,11 @@
* 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.
- *
- * CBC checksum, which computes the ivec resulting from CBC encryption of the
- * input.
*/
+/* CBC checksum, which computes the ivec resulting from CBC encryption of the
+ * input. */
+
#include "crypto_int.h"
krb5_error_code
diff --git a/src/lib/crypto/krb/checksum_confounder.c b/src/lib/crypto/krb/checksum_confounder.c
index 7006043..3d8cd08 100644
--- a/src/lib/crypto/krb/checksum_confounder.c
+++ b/src/lib/crypto/krb/checksum_confounder.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_confounder.c */
/*
- * lib/crypto/krb/checksum/confounder.c
- *
* Copyright (C) 2009 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.
- *
+ */
+
+/*
* Confounder checksum implementation, using tokens of the form:
* enc(xorkey, confounder | hash(confounder | data))
* where xorkey is the key XOR'd with 0xf0 bytes.
diff --git a/src/lib/crypto/krb/checksum_dk_cmac.c b/src/lib/crypto/krb/checksum_dk_cmac.c
index 166b7c7..2e9a15e 100644
--- a/src/lib/crypto/krb/checksum_dk_cmac.c
+++ b/src/lib/crypto/krb/checksum_dk_cmac.c
@@ -1,6 +1,5 @@
+/* lib/crypto/krb/checksum_dk_cmac.c */
/*
- * lib/crypto/krb/dk/checksum_cmac.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/checksum_hmac_md5.c b/src/lib/crypto/krb/checksum_hmac_md5.c
index 4d0010a..12d4c9d 100644
--- a/src/lib/crypto/krb/checksum_hmac_md5.c
+++ b/src/lib/crypto/krb/checksum_hmac_md5.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_hmac_md5.c */
/*
- * lib/crypto/krb/checksum/hmac_md5.c
- *
* Copyright (C) 2009 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.
- *
+ */
+
+/*
* Microsoft HMAC-MD5 and MD5-HMAC checksums (see RFC 4757):
* HMAC(KS, hash(msusage || input))
* KS is HMAC(key, "signaturekey\0") for HMAC-MD5, or just the key for
diff --git a/src/lib/crypto/krb/checksum_unkeyed.c b/src/lib/crypto/krb/checksum_unkeyed.c
index cdbc492..ff4f2b4 100644
--- a/src/lib/crypto/krb/checksum_unkeyed.c
+++ b/src/lib/crypto/krb/checksum_unkeyed.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_unkeyed.c - Unkeyed checksum handler */
/*
- * lib/crypto/krb/checksum/unkeyed.c
- *
* Copyright (C) 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.
- *
- * Unkeyed hash checksum implementation.
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/cmac.c b/src/lib/crypto/krb/cmac.c
index 3e9dfb1..ba22ebd 100644
--- a/src/lib/crypto/krb/cmac.c
+++ b/src/lib/crypto/krb/cmac.c
@@ -1,6 +1,5 @@
+/* lib/crypto/krb/cmac.c */
/*
- * lib/crypto/krb/checksum/cmac.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/combine_keys.c b/src/lib/crypto/krb/combine_keys.c
index d70e16f..d9235dd 100644
--- a/src/lib/crypto/krb/combine_keys.c
+++ b/src/lib/crypto/krb/combine_keys.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* Copyright (c) 2002 Naval Research Laboratory (NRL/CCS) */
/*
- * Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
- *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the software,
@@ -10,7 +9,9 @@
* NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
* DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
* RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ */
+
+/*
* Key combination function.
*
* If Key1 and Key2 are two keys to be combined, the algorithm to combine
diff --git a/src/lib/crypto/krb/crc32.c b/src/lib/crypto/krb/crc32.c
index 39e3e34..d3b1b7a 100644
--- a/src/lib/crypto/krb/crc32.c
+++ b/src/lib/crypto/krb/crc32.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/crc32.c */
/*
- * lib/crypto/crc32/crc.c
- *
* Copyright 1990, 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,19 +22,19 @@
* 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.
- *
- *
- * CRC-32/AUTODIN-II routines
*/
-
-#include "crypto_int.h"
-
-/* This table and block of comments are taken from code labeled: */
/*
* Copyright (C) 1986 Gary S. Brown. You may use this program, or
* code or tables extracted from it, as desired without restriction.
*/
+/*
+ *
+ * CRC-32/AUTODIN-II routines
+ */
+
+#include "crypto_int.h"
+
/* First, the polynomial itself and its table of feedback terms. The */
/* polynomial is */
/* X^32+X^26+X^23+X^22+X^16+X^12+X^11+X^10+X^8+X^7+X^5+X^4+X^2+X^1+X^0 */
diff --git a/src/lib/crypto/krb/crypto_length.c b/src/lib/crypto/krb/crypto_length.c
index 84c56cc..b33235d 100644
--- a/src/lib/crypto/krb/crypto_length.c
+++ b/src/lib/crypto/krb/crypto_length.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/crypto_length.c */
/*
- * lib/crypto/crypto_length.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/decrypt_iov.c b/src/lib/crypto/krb/decrypt_iov.c
index 39844d4..8d43e8f 100644
--- a/src/lib/crypto/krb/decrypt_iov.c
+++ b/src/lib/crypto/krb/decrypt_iov.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/decrypt_iov.c */
/*
- * lib/crypto/encrypt_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/enc_dk_cmac.c b/src/lib/crypto/krb/enc_dk_cmac.c
index f00b8ed..2ec80bd 100644
--- a/src/lib/crypto/krb/enc_dk_cmac.c
+++ b/src/lib/crypto/krb/enc_dk_cmac.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/dk/dk_cmac.c - Derived-key enctype functions using CMAC */
+/* lib/crypto/krb/enc_dk_cmac.c - Derived-key enctype functions using CMAC */
/*
* Copyright 2008, 2009, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
diff --git a/src/lib/crypto/krb/enc_dk_hmac.c b/src/lib/crypto/krb/enc_dk_hmac.c
index 2e2163f..217aa88 100644
--- a/src/lib/crypto/krb/enc_dk_hmac.c
+++ b/src/lib/crypto/krb/enc_dk_hmac.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enc_dk_hmac.c */
/*
- * lib/crypto/dk/dk_aead.c
- *
* Copyright 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/enc_old.c b/src/lib/crypto/krb/enc_old.c
index 00ce609..f33cacb 100644
--- a/src/lib/crypto/krb/enc_old.c
+++ b/src/lib/crypto/krb/enc_old.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enc_old.c */
/*
- * lib/crypto/old/old_aead.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/enc_raw.c b/src/lib/crypto/krb/enc_raw.c
index 3364a7d..554d5c4 100644
--- a/src/lib/crypto/krb/enc_raw.c
+++ b/src/lib/crypto/krb/enc_raw.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enc_raw.c */
/*
- * lib/crypto/raw/raw_aead.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/encrypt_iov.c b/src/lib/crypto/krb/encrypt_iov.c
index 9f56c1f..d66fcfa 100644
--- a/src/lib/crypto/krb/encrypt_iov.c
+++ b/src/lib/crypto/krb/encrypt_iov.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/encrypt_iov.c */
/*
- * lib/crypto/encrypt_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/enctype_util.c b/src/lib/crypto/krb/enctype_util.c
index 2641537..0ed74bd 100644
--- a/src/lib/crypto/krb/enctype_util.c
+++ b/src/lib/crypto/krb/enctype_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enctype_util.c */
/*
- * lib/crypto/krb/enctype_util.c
- *
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
@@ -25,8 +24,9 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- *
+ */
+
+/*
* krb5int_c_valid_enctype()
* krb5int_c_weak_enctype()
* krb5_c_enctype_compare()
diff --git a/src/lib/crypto/krb/keyblocks.c b/src/lib/crypto/krb/keyblocks.c
index b1ef6f2..21faa56 100644
--- a/src/lib/crypto/krb/keyblocks.c
+++ b/src/lib/crypto/krb/keyblocks.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/keyblocks.c - Keyblock utility functions */
/*
- * lib/crypto/keyblocks.c
- *
* Copyright (C) 2002, 2005 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.
- *
- *
- *
- * krb5_init_keyblock- a function to set up
- * an empty keyblock
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/make_checksum_iov.c b/src/lib/crypto/krb/make_checksum_iov.c
index 1c54077..549180d 100644
--- a/src/lib/crypto/krb/make_checksum_iov.c
+++ b/src/lib/crypto/krb/make_checksum_iov.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/make_checksum_iov.c */
/*
- * lib/crypto/make_checksum_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/krb/prf.c b/src/lib/crypto/krb/prf.c
index a315c42..67b856a 100644
--- a/src/lib/crypto/krb/prf.c
+++ b/src/lib/crypto/krb/prf.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf.c */
/*
- * lib/crypto/prf.c
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,12 +22,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.
- *
- *
- *
- * This contains the implementation of krb5_c_prf, which will find
- *the enctype-specific PRF and then generate pseudo-random data. This
- *function yields krb5_c_prf_length bytes of output.
+ */
+
+/*
+ * This contains the implementation of krb5_c_prf, which will find the
+ * enctype-specific PRF and then generate pseudo-random data. This function
+ * yields krb5_c_prf_length bytes of output.
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/prf_cmac.c b/src/lib/crypto/krb/prf_cmac.c
index 0a02bf1..d3e7161 100644
--- a/src/lib/crypto/krb/prf_cmac.c
+++ b/src/lib/crypto/krb/prf_cmac.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_cmac.c - CMAC-based PRF */
/*
- * lib/crypto/krb/prf/cmac_prf.c
- *
* Copyright (C) 2010 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.
- *
- *
- *
- * This file contains an implementation of the RFC 3961 PRF for
- *simplified profile enctypes.
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/prf_des.c b/src/lib/crypto/krb/prf_des.c
index 3bb420b..7a2d719 100644
--- a/src/lib/crypto/krb/prf_des.c
+++ b/src/lib/crypto/krb/prf_des.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_des.c - RFC 3961 DES-based PRF */
/*
- * lib/crypto/krb/prf//des_prf.c
- *
* Copyright (C) 2004, 2009 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.
- *
- *
- *
- * This file contains an implementation of the RFC 3961 PRF for
- * des-cbc-crc, des-cbc-md4, and des-cbc-md5 enctypes.
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/prf_dk.c b/src/lib/crypto/krb/prf_dk.c
index b6e6998..bf8d522 100644
--- a/src/lib/crypto/krb/prf_dk.c
+++ b/src/lib/crypto/krb/prf_dk.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_dk.c - RFC 3961 simplified profile PRF */
/*
- * lib/crypto/krb/prf/dk_prf.c
- *
* Copyright (C) 2004 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.
- *
- *
- *
- * This file contains an implementation of the RFC 3961 PRF for
- *simplified profile enctypes.
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/krb/prf_rc4.c b/src/lib/crypto/krb/prf_rc4.c
index be54f36..0927953 100644
--- a/src/lib/crypto/krb/prf_rc4.c
+++ b/src/lib/crypto/krb/prf_rc4.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_rc4.c */
/*
- * lib/crypto/krb/prf/rc4_prf.c
- *
* Copyright (C) 2009 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 "crypto_int.h"
diff --git a/src/lib/crypto/krb/prng_fortuna.c b/src/lib/crypto/krb/prng_fortuna.c
index cdc5acf..f559df7 100644
--- a/src/lib/crypto/krb/prng_fortuna.c
+++ b/src/lib/crypto/krb/prng_fortuna.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/krb/prng/fortuna/prng_fortuna.c - Fortuna PRNG implementation */
+/* lib/crypto/krb/prng_fortuna.c - Fortuna PRNG implementation */
/*
* Copyright (c) 2005 Marko Kreen
* All rights reserved.
diff --git a/src/lib/crypto/krb/prng_nss.c b/src/lib/crypto/krb/prng_nss.c
index 905b24d..a304054 100644
--- a/src/lib/crypto/krb/prng_nss.c
+++ b/src/lib/crypto/krb/prng_nss.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prng_nss.c */
/*
- * prng_nss.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/krb/prng_os.c b/src/lib/crypto/krb/prng_os.c
index 51af17b..fa6204e 100644
--- a/src/lib/crypto/krb/prng_os.c
+++ b/src/lib/crypto/krb/prng_os.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/krb/prng/fortuna/prng_os.c - OS-native PRNG implementation */
+/* lib/crypto/krb/prng_os.c - OS-native PRNG implementation */
/*
* Copyright (C) 2011 by the Massachusetts Institute of Technology.
* All rights reserved.
diff --git a/src/lib/crypto/krb/state.c b/src/lib/crypto/krb/state.c
index 85327de..a7fb020 100644
--- a/src/lib/crypto/krb/state.c
+++ b/src/lib/crypto/krb/state.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/state.c */
/*
- * lib/crypto/state.c
- *
* Copyright (C) 2001 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/krb/t_fortuna.c b/src/lib/crypto/krb/t_fortuna.c
index 14149b9..561e990 100644
--- a/src/lib/crypto/krb/t_fortuna.c
+++ b/src/lib/crypto/krb/t_fortuna.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/krb/prng/fortuna/t_fortuna.c - Fortuna test program */
+/* lib/crypto/krb/t_fortuna.c - Fortuna test program */
/*
* Copyright (c) 2007 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
diff --git a/src/lib/crypto/krb/verify_checksum_iov.c b/src/lib/crypto/krb/verify_checksum_iov.c
index da8f487..efa2adc 100644
--- a/src/lib/crypto/krb/verify_checksum_iov.c
+++ b/src/lib/crypto/krb/verify_checksum_iov.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/verify_checksum_iov.c */
/*
- * lib/crypto/verify_checksum_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/des/des_oldapis.c b/src/lib/crypto/nss/des/des_oldapis.c
index 79163c4..c26439f 100644
--- a/src/lib/crypto/nss/des/des_oldapis.c
+++ b/src/lib/crypto/nss/des/des_oldapis.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/des/des_oldapis.c */
/*
- * lib/crypto/openssl/des/des_oldapis.c
- *
* Copyright (C) 2009 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 "crypto_int.h"
diff --git a/src/lib/crypto/nss/des/string2key.c b/src/lib/crypto/nss/des/string2key.c
index d9f9e3a..8474c40 100644
--- a/src/lib/crypto/nss/des/string2key.c
+++ b/src/lib/crypto/nss/des/string2key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/des/string2key.c */
/*
- * lib/crypto/openssl/des/string2key.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/nss/enc_provider/aes.c b/src/lib/crypto/nss/enc_provider/aes.c
index 6f24e3f..3fe7996 100644
--- a/src/lib/crypto/nss/enc_provider/aes.c
+++ b/src/lib/crypto/nss/enc_provider/aes.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/aes.c
- *
+/* lib/crypto/nss/enc_provider/aes.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/enc_provider/camellia.c b/src/lib/crypto/nss/enc_provider/camellia.c
index 5a3495d..820071a 100644
--- a/src/lib/crypto/nss/enc_provider/camellia.c
+++ b/src/lib/crypto/nss/enc_provider/camellia.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/camellia.c
- *
+/* lib/crypto/nss/enc_provider/camellia.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/enc_provider/des.c b/src/lib/crypto/nss/enc_provider/des.c
index 60b5097..46a3e0f 100644
--- a/src/lib/crypto/nss/enc_provider/des.c
+++ b/src/lib/crypto/nss/enc_provider/des.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/des.c
- *
+/* lib/crypto/nss/enc_provider/des.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/enc_provider/des3.c b/src/lib/crypto/nss/enc_provider/des3.c
index b32e568..5030dde 100644
--- a/src/lib/crypto/nss/enc_provider/des3.c
+++ b/src/lib/crypto/nss/enc_provider/des3.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/des3.c
- *
+/* lib/crypto/nss/enc_provider/des3.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/enc_provider/enc_gen.c b/src/lib/crypto/nss/enc_provider/enc_gen.c
index bdd9d67..9437263 100644
--- a/src/lib/crypto/nss/enc_provider/enc_gen.c
+++ b/src/lib/crypto/nss/enc_provider/enc_gen.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/enc_gen.c
- *
+/* lib/crypto/nss/enc_provider/enc_gen.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/enc_provider/rc4.c b/src/lib/crypto/nss/enc_provider/rc4.c
index bd1cefd..17d90d9 100644
--- a/src/lib/crypto/nss/enc_provider/rc4.c
+++ b/src/lib/crypto/nss/enc_provider/rc4.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/rc4.c
- *
+/* lib/crypto/nss/enc_provider/rc4.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/hash_provider/hash_gen.c b/src/lib/crypto/nss/hash_provider/hash_gen.c
index a11aa6d..7e54ccc 100644
--- a/src/lib/crypto/nss/hash_provider/hash_gen.c
+++ b/src/lib/crypto/nss/hash_provider/hash_gen.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_gen.c
- *
+/* lib/crypto/nss/hash_provider/hash_gen.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/hash_provider/hash_gen.h b/src/lib/crypto/nss/hash_provider/hash_gen.h
index 1658e74..95e2900 100644
--- a/src/lib/crypto/nss/hash_provider/hash_gen.h
+++ b/src/lib/crypto/nss/hash_provider/hash_gen.h
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_gen.h
- *
+/* lib/crypto/nss/hash_provider/hash_gen.h */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/hash_provider/hash_md5.c b/src/lib/crypto/nss/hash_provider/hash_md5.c
index 2fb2998..167114f 100644
--- a/src/lib/crypto/nss/hash_provider/hash_md5.c
+++ b/src/lib/crypto/nss/hash_provider/hash_md5.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_md5.c
- *
+/* lib/crypto/nss/hash_provider/hash_md5.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/hash_provider/hash_sha1.c b/src/lib/crypto/nss/hash_provider/hash_sha1.c
index c78b45a..bd84d74 100644
--- a/src/lib/crypto/nss/hash_provider/hash_sha1.c
+++ b/src/lib/crypto/nss/hash_provider/hash_sha1.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_sha1.c
- *
+/* lib/crypto/nss/hash_provider/hash_sha1.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/hmac.c b/src/lib/crypto/nss/hmac.c
index adf600e..8de0d7a 100644
--- a/src/lib/crypto/nss/hmac.c
+++ b/src/lib/crypto/nss/hmac.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hmac.c
- *
+/* lib/crypto/nss/hmac.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/md4/md4.c b/src/lib/crypto/nss/md4/md4.c
index 6850e13..1853207 100644
--- a/src/lib/crypto/nss/md4/md4.c
+++ b/src/lib/crypto/nss/md4/md4.c
@@ -1,6 +1,25 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/md4/md4.c */
/*
- * lib/crypto/md4/md4.c
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
/*
@@ -12,30 +31,6 @@
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
#include "k5-int.h"
#include "rsa-md4.h"
diff --git a/src/lib/crypto/nss/md4/rsa-md4.h b/src/lib/crypto/nss/md4/rsa-md4.h
index 408f2ef..d44869a 100644
--- a/src/lib/crypto/nss/md4/rsa-md4.h
+++ b/src/lib/crypto/nss/md4/rsa-md4.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/md4/rsa-md4.h */
/*
- * lib/crypto/md4/rsa-md4.h
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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.
+ */
+/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
*
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
*
- * RSA MD4 header file, with Kerberos/STDC additions.
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
+/* RSA MD4 header file, with Kerberos/STDC additions */
+
#ifndef __KRB5_RSA_MD4_H__
#define __KRB5_RSA_MD4_H__
@@ -51,30 +70,6 @@
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
/* Data structure for MD4 (Message Digest) computation */
typedef struct {
krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
diff --git a/src/lib/crypto/nss/nss_gen.h b/src/lib/crypto/nss/nss_gen.h
index 54e1022..ccf9219 100644
--- a/src/lib/crypto/nss/nss_gen.h
+++ b/src/lib/crypto/nss/nss_gen.h
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/nss_gen.h
- *
+/* lib/crypto/nss/nss_gen.h */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/nss/pbkdf2.c b/src/lib/crypto/nss/pbkdf2.c
index f89f00d..9a0d4fd 100644
--- a/src/lib/crypto/nss/pbkdf2.c
+++ b/src/lib/crypto/nss/pbkdf2.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/pbkdf2.c
- *
+/* lib/crypto/nss/pbkdf2.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
diff --git a/src/lib/crypto/openssl/des/des_oldapis.c b/src/lib/crypto/openssl/des/des_oldapis.c
index 79163c4..584140f 100644
--- a/src/lib/crypto/openssl/des/des_oldapis.c
+++ b/src/lib/crypto/openssl/des/des_oldapis.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/des/des_oldapis.c */
/*
- * lib/crypto/openssl/des/des_oldapis.c
- *
* Copyright (C) 2009 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 "crypto_int.h"
diff --git a/src/lib/crypto/openssl/des/f_parity.c b/src/lib/crypto/openssl/des/f_parity.c
index 1fb3f6e..f574472 100644
--- a/src/lib/crypto/openssl/des/f_parity.c
+++ b/src/lib/crypto/openssl/des/f_parity.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/des/f_parity.c */
/*
- * lib/crypto/openssl/des/f_parity.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/openssl/des/string2key.c b/src/lib/crypto/openssl/des/string2key.c
index 923cee5..cd3e759 100644
--- a/src/lib/crypto/openssl/des/string2key.c
+++ b/src/lib/crypto/openssl/des/string2key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/des/string2key.c */
/*
- * lib/crypto/openssl/des/string2key.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/openssl/enc_provider/aes.c b/src/lib/crypto/openssl/enc_provider/aes.c
index 1b16c0c..ced93f7 100644
--- a/src/lib/crypto/openssl/enc_provider/aes.c
+++ b/src/lib/crypto/openssl/enc_provider/aes.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/enc_provider/aes.c */
/*
- * lib/crypto/openssl/enc_provider/aes.c
- *
* Copyright (C) 2003, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/openssl/enc_provider/camellia.c b/src/lib/crypto/openssl/enc_provider/camellia.c
index ab7370f..a7175e3 100644
--- a/src/lib/crypto/openssl/enc_provider/camellia.c
+++ b/src/lib/crypto/openssl/enc_provider/camellia.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/enc_provider/camellia.c */
/*
- * lib/crypto/openssl/enc_provider/camellia.c
- *
* Copyright (C) 2003, 2007, 2008, 2009, 2010 by the Massachusetts Institute of
* Technology. All rights reserved.
*
diff --git a/src/lib/crypto/openssl/enc_provider/des.c b/src/lib/crypto/openssl/enc_provider/des.c
index 151b6dd..591e13b 100644
--- a/src/lib/crypto/openssl/enc_provider/des.c
+++ b/src/lib/crypto/openssl/enc_provider/des.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/enc_provider/des.c
- *
+/* lib/crypto/openssl/enc_provider/des.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/openssl/enc_provider/des3.c b/src/lib/crypto/openssl/enc_provider/des3.c
index fe41ef7..ca843f9 100644
--- a/src/lib/crypto/openssl/enc_provider/des3.c
+++ b/src/lib/crypto/openssl/enc_provider/des3.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/enc_provider/des3.c
- *
+/* lib/crypto/openssl/enc_provider/des3.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/openssl/enc_provider/rc4.c b/src/lib/crypto/openssl/enc_provider/rc4.c
index 2ae4a84..a8db754 100644
--- a/src/lib/crypto/openssl/enc_provider/rc4.c
+++ b/src/lib/crypto/openssl/enc_provider/rc4.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/enc_provider/rc4.c
- *
- * #include STD_DISCLAIMER
- *
+/* lib/crypto/openssl/enc_provider/rc4.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -26,8 +24,7 @@
* or implied warranty.
*/
-/* arcfour.c
- *
+/*
* Copyright (c) 2000 by Computer Science Laboratory,
* Rensselaer Polytechnic Institute
*
diff --git a/src/lib/crypto/openssl/hash_provider/hash_sha1.c b/src/lib/crypto/openssl/hash_provider/hash_sha1.c
index f6f1a65..cdfed55 100644
--- a/src/lib/crypto/openssl/hash_provider/hash_sha1.c
+++ b/src/lib/crypto/openssl/hash_provider/hash_sha1.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/hash/yhash.h
- *
+/* lib/crypto/openssl/hash_provider/hash_sha1.c */
+/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
diff --git a/src/lib/crypto/openssl/hmac.c b/src/lib/crypto/openssl/hmac.c
index ac5af3f..f92ce8b 100644
--- a/src/lib/crypto/openssl/hmac.c
+++ b/src/lib/crypto/openssl/hmac.c
@@ -1,6 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/hmac.c
- *
+/* lib/crypto/openssl/hmac.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/crypto/openssl/init.c b/src/lib/crypto/openssl/init.c
index b3db6c2..1139bce 100644
--- a/src/lib/crypto/openssl/init.c
+++ b/src/lib/crypto/openssl/init.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/init.c - Module init and cleanup functions */
/*
- * lib/crypto/openssl/init.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * OpenSSL back-end library init functions
*/
#include "crypto_int.h"
diff --git a/src/lib/crypto/openssl/pbkdf2.c b/src/lib/crypto/openssl/pbkdf2.c
index ba51ad4..2a7da3f 100644
--- a/src/lib/crypto/openssl/pbkdf2.c
+++ b/src/lib/crypto/openssl/pbkdf2.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/pbkdf2.c */
/*
- * lib/crypto/openssl/pbkdf2.c
- *
* Copyright 2002, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- *
- * Implementation of PBKDF2 from RFC 2898.
- * Not currently used; likely to be used when we get around to AES support.
*/
#include "crypto_int.h"
diff --git a/src/lib/gssapi/generic/gssapi_ext.h b/src/lib/gssapi/generic/gssapi_ext.h
index d68b6cd..d92bbcf 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 d7cd5a4..c423542 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 066780a..1315532 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 0344ebd..4c8d153 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 ae34f95..93e188a 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 3dd01dc..81b08a5 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 c054d74..256fb5e 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 52c2440..c4a1a12 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 271c58c..ac12d82 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 8c9958f..b58d384 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 30ec230..daf3577 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 d811eb3..b04330a 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 b97ed89..493dd03 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 19c477f..3980062 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 d797ce9..445cdc7 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 1613913..f050f6d 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 5ccee2c..d682960 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 9c821a6..185389d 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 6fe069b..c670b14 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 9867170..31bfb72 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 79e2d87..ae7ee9f 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 4e6c0f6..e5720e5 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 4cebf7f..ac3fa29 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 dc679c9..ba57511 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 fe88d1b..7ef4aee 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 4b6c890..dcbe024 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 65c903b..7cae1b8 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 2351d9f..0e1cacd 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 b047483..c13e22c 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 9ba6a1f..972d1c5 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 38d744d..9310ddb 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 b72ee3b..e81e331 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 fcd9558..d9363c1 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 469aa70..ebdeaae 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 288c080..4c23dfc 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 b2681ea..915f687 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 3ed19e3..ebf4945 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 0b8019f..cb9412e 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 5f863e3..663e02a 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 f87febf..9521d9a 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 74a3a21..fcca3e4 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 2e9a0c7..50426d9 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 9420ae8..f09136a 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 4bffdd6..b025d9c 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 6a666dc..87db240 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 7bb73ed..897c84f 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 1ec72fc..a479762 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 1675376..69cac70 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 3524cea..5edddeb 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 073d7fc..191c0ab 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.
diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h
index 8b59c6b..7bcc7fc 100644
--- a/src/lib/kadm5/admin.h
+++ b/src/lib/kadm5/admin.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/admin.h */
/*
- * lib/kadm5/admin.h
- *
* Copyright 2001, 2008 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.
- *
*/
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c
index cdd7321..f6ee1c2 100644
--- a/src/lib/kadm5/alt_prof.c
+++ b/src/lib/kadm5/alt_prof.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/alt_prof.c */
/*
- * lib/kadm/alt_prof.c
- *
* Copyright 1995,2001,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,16 +22,13 @@
* 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.
*/
-/*
- * alt_prof.c - Implement alternate profile file handling.
- */
+/* Implement alternate profile file handling. */
#include "fake-addrinfo.h"
#include "k5-int.h"
#include <kadm5/admin.h>
diff --git a/src/lib/kadm5/logger.c b/src/lib/kadm5/logger.c
index b43a96f..cddb620 100644
--- a/src/lib/kadm5/logger.c
+++ b/src/lib/kadm5/logger.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/logger.c */
/*
- * lib/kadm/logger.c
- *
* Copyright 1995, 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.
- *
*/
/* KADM5 wants non-syslog log files to contain syslog-like entries */
diff --git a/src/lib/kadm5/srv/kadm5_hook.c b/src/lib/kadm5/srv/kadm5_hook.c
index 73016c8..c9a630e 100644
--- a/src/lib/kadm5/srv/kadm5_hook.c
+++ b/src/lib/kadm5/srv/kadm5_hook.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/kadm5_hook.c */
/*
- * lib/kadm5/srv/kadm5_hook.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/kadm5/srv/pwqual.c b/src/lib/kadm5/srv/pwqual.c
index d1a9f78..71ffa66 100644
--- a/src/lib/kadm5/srv/pwqual.c
+++ b/src/lib/kadm5/srv/pwqual.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual.c */
/*
- * lib/kadm5/srv/pwqual.c
- *
* Copyright (C) 2010 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.
- *
+ */
+
+/*
*
* Consumer interface for password quality plugins.
*/
diff --git a/src/lib/kadm5/srv/pwqual_dict.c b/src/lib/kadm5/srv/pwqual_dict.c
index 58ece2f..778b177 100644
--- a/src/lib/kadm5/srv/pwqual_dict.c
+++ b/src/lib/kadm5/srv/pwqual_dict.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_dict.c */
/*
- * lib/kadm5/srv/pwqual_dict.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,16 +22,13 @@
* 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.
- *
- * Dictionary initialization and lookup code is (see top-level NOTICE file for
- * license):
- *
+ */
+/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
- *
- *
- * Password quality module to look up passwords within the realm dictionary.
*/
+/* Password quality module to look up passwords within the realm dictionary. */
+
#include "k5-platform.h"
#include <krb5/pwqual_plugin.h>
#include <sys/types.h>
diff --git a/src/lib/kadm5/srv/pwqual_empty.c b/src/lib/kadm5/srv/pwqual_empty.c
index 79e7534..8c26a13 100644
--- a/src/lib/kadm5/srv/pwqual_empty.c
+++ b/src/lib/kadm5/srv/pwqual_empty.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_empty.c */
/*
- * lib/kadm5/srv/pwqual_empty.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,11 +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.
- *
- *
- * Password quality module to reject empty passwords.
*/
+/* Password quality module to reject empty passwords */
+
#include "k5-platform.h"
#include <krb5/pwqual_plugin.h>
#include "server_internal.h"
diff --git a/src/lib/kadm5/srv/pwqual_hesiod.c b/src/lib/kadm5/srv/pwqual_hesiod.c
index 93ced4f..43f4f84 100644
--- a/src/lib/kadm5/srv/pwqual_hesiod.c
+++ b/src/lib/kadm5/srv/pwqual_hesiod.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_hesiod.c */
/*
- * lib/kadm5/srv/pwqual_hesiod.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Password quality module to check passwords against GECOS fields of Hesiod
* passwd information, if the tree is compiled with Hesiod support.
*/
diff --git a/src/lib/kadm5/srv/pwqual_princ.c b/src/lib/kadm5/srv/pwqual_princ.c
index 510980e..ff16ccf 100644
--- a/src/lib/kadm5/srv/pwqual_princ.c
+++ b/src/lib/kadm5/srv/pwqual_princ.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_princ.c */
/*
- * lib/kadm5/srv/pwqual_princ.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,11 +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.
- *
- *
- * Password quality module to check passwords against principal components.
*/
+/* Password quality module to check passwords against principal components */
+
#include "k5-platform.h"
#include <krb5/pwqual_plugin.h>
#include "server_internal.h"
diff --git a/src/lib/kadm5/srv/server_acl.c b/src/lib/kadm5/srv/server_acl.c
index b8abe8a..0ca30f4 100644
--- a/src/lib/kadm5/srv/server_acl.c
+++ b/src/lib/kadm5/srv/server_acl.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/server_acl.c */
/*
- * lib/kadm5/srv/server_acl.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.
- *
*/
-/*
- * srv_acl.c - Handle Kerberos ACL related functions.
- */
#include <stdio.h>
#include <syslog.h>
#include <sys/param.h>
diff --git a/src/lib/kadm5/srv/server_acl.h b/src/lib/kadm5/srv/server_acl.h
index 827da90..1ca4dfa 100644
--- a/src/lib/kadm5/srv/server_acl.h
+++ b/src/lib/kadm5/srv/server_acl.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/server_acl.h */
/*
- * lib/kadm5/srv/server_acl.h
- *
* Copyright 1995-2004, 2007, 2008 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.
- *
*/
#ifndef SERVER_ACL_H__
diff --git a/src/lib/kadm5/srv/server_misc.c b/src/lib/kadm5/srv/server_misc.c
index 5b61719..907a3c5 100644
--- a/src/lib/kadm5/srv/server_misc.c
+++ b/src/lib/kadm5/srv/server_misc.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.
- *
- * check_against_policy code is originally (see top-level NOTICE file for
- * license):
- *
+ */
+/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
- *
*/
#include "k5-int.h"
diff --git a/src/lib/kadm5/str_conv.c b/src/lib/kadm5/str_conv.c
index c6fd435..5151d18 100644
--- a/src/lib/kadm5/str_conv.c
+++ b/src/lib/kadm5/str_conv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/str_conv.c */
/*
- * lib/kadm/str_conv.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +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.
- *
*/
-/*
- * str_conv.c - Convert between strings and Kerberos internal data.
- */
+/* Convert between strings and Kerberos internal data. */
/*
* Table of contents:
diff --git a/src/lib/kdb/decrypt_key.c b/src/lib/kdb/decrypt_key.c
index dbbd947..541064d 100644
--- a/src/lib/kdb/decrypt_key.c
+++ b/src/lib/kdb/decrypt_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/decrypt_key.c */
/*
- * lib/kdb/decrypt_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,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.
- *
- *
- * krb5_kdb_encrypt_key(), krb5_kdb_decrypt_key functions
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/kdb/encrypt_key.c b/src/lib/kdb/encrypt_key.c
index 5e6e4e4..2ca4632 100644
--- a/src/lib/kdb/encrypt_key.c
+++ b/src/lib/kdb/encrypt_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/encrypt_key.c */
/*
- * lib/kdb/encrypt_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,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.
- *
- *
- * krb5_kdb_encrypt_key(), krb5_kdb_decrypt_key functions
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/kdb/kdb5int.h b/src/lib/kdb/kdb5int.h
index 9d63ca8..56570ce 100644
--- a/src/lib/kdb/kdb5int.h
+++ b/src/lib/kdb/kdb5int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb5int.h - Private header for kdb5 library */
/*
- * lib/kdb5/kdb5int.h
- *
* Copyright (C) 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Private header file for the kdb5 library for internal functions
*/
#ifndef __KDB5INT_H__
diff --git a/src/lib/kdb/kdb_convert.c b/src/lib/kdb/kdb_convert.c
index 20bcc31..2799b44 100644
--- a/src/lib/kdb/kdb_convert.c
+++ b/src/lib/kdb/kdb_convert.c
@@ -145,8 +145,7 @@ find_changed_attrs(krb5_db_entry *current, krb5_db_entry *new,
}
-/*
- */
+/* Initialize *u with a copy of d. Return 0 on success, -1 on failure. */
static int
data_to_utf8str(utf8str_t *u, krb5_data d)
{
diff --git a/src/lib/kdb/kdb_cpw.c b/src/lib/kdb/kdb_cpw.c
index a2dff2e..88811e7 100644
--- a/src/lib/kdb/kdb_cpw.c
+++ b/src/lib/kdb/kdb_cpw.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb_cpw.c */
/*
- * lib/kdb/kdb_cpw.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +22,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 (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/kdb/kdb_default.c b/src/lib/kdb/kdb_default.c
index 18de7c7..9763d6e 100644
--- a/src/lib/kdb/kdb_default.c
+++ b/src/lib/kdb/kdb_default.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb_default.c */
/*
- * lib/kdb/kdb_helper.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +22,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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
diff --git a/src/lib/kdb/keytab.c b/src/lib/kdb/keytab.c
index dbbbe75..00b45f8 100644
--- a/src/lib/kdb/keytab.c
+++ b/src/lib/kdb/keytab.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/keytab.c */
/*
- * kadmin/v5server/keytab.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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 <string.h>
#include "k5-int.h"
diff --git a/src/lib/krb5/asn.1/asn1_decode.c b/src/lib/krb5/asn.1/asn1_decode.c
index a3883cd..659fed8 100644
--- a/src/lib/krb5/asn.1/asn1_decode.c
+++ b/src/lib/krb5/asn.1/asn1_decode.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_decode.c */
/*
- * src/lib/krb5/asn.1/asn1_decode.c
- *
* Copyright 1994, 2003 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_decode.h b/src/lib/krb5/asn.1/asn1_decode.h
index 09bb641..d495040 100644
--- a/src/lib/krb5/asn.1/asn1_decode.h
+++ b/src/lib/krb5/asn.1/asn1_decode.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_decode.h */
/*
- * src/lib/krb5/asn.1/asn1_decode.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_encode.c b/src/lib/krb5/asn.1/asn1_encode.c
index a328306..a907709 100644
--- a/src/lib/krb5/asn.1/asn1_encode.c
+++ b/src/lib/krb5/asn.1/asn1_encode.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_encode.c */
/*
- * src/lib/krb5/asn.1/asn1_encode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_encode.h b/src/lib/krb5/asn.1/asn1_encode.h
index 59d53ab..a17a20c 100644
--- a/src/lib/krb5/asn.1/asn1_encode.h
+++ b/src/lib/krb5/asn.1/asn1_encode.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_encode.h */
/*
- * src/lib/krb5/asn.1/asn1_encode.h
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_get.c b/src/lib/krb5/asn.1/asn1_get.c
index 99761f4..11934c3 100644
--- a/src/lib/krb5/asn.1/asn1_get.c
+++ b/src/lib/krb5/asn.1/asn1_get.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_get.c */
/*
- * src/lib/krb5/asn.1/asn1_get.c
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_get.h b/src/lib/krb5/asn.1/asn1_get.h
index c2d3f03..6bf78ef 100644
--- a/src/lib/krb5/asn.1/asn1_get.h
+++ b/src/lib/krb5/asn.1/asn1_get.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_get.h */
/*
- * src/lib/krb5/asn.1/asn1_get.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_decode.c b/src/lib/krb5/asn.1/asn1_k_decode.c
index 365d18a..e2ba575 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode.c
+++ b/src/lib/krb5/asn.1/asn1_k_decode.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode.c
- *
* Copyright 1994, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_decode.h b/src/lib/krb5/asn.1/asn1_k_decode.h
index 79a4a05..8f7bf0c 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode.h
+++ b/src/lib/krb5/asn.1/asn1_k_decode.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode.h */
/*
- * src/lib/krb5/asn.1/asn1_k_decode.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_decode_fast.c b/src/lib/krb5/asn.1/asn1_k_decode_fast.c
index 8007371..6d9ddd4 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode_fast.c
+++ b/src/lib/krb5/asn.1/asn1_k_decode_fast.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_fast.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_fast.c
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_decode_kdc.c b/src/lib/krb5/asn.1/asn1_k_decode_kdc.c
index d8499bb..52c371b 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode_kdc.c
+++ b/src/lib/krb5/asn.1/asn1_k_decode_kdc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_kdc.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_kdc.c
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_decode_macros.h b/src/lib/krb5/asn.1/asn1_k_decode_macros.h
index 24580af..4160b10 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode_macros.h
+++ b/src/lib/krb5/asn.1/asn1_k_decode_macros.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_macros.h */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_macros.h
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_decode_sam.c b/src/lib/krb5/asn.1/asn1_k_decode_sam.c
index 083e543..ae4e42f 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode_sam.c
+++ b/src/lib/krb5/asn.1/asn1_k_decode_sam.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_sam.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_sam.c
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_encode.c b/src/lib/krb5/asn.1/asn1_k_encode.c
index ae88c58..746b912 100644
--- a/src/lib/krb5/asn.1/asn1_k_encode.c
+++ b/src/lib/krb5/asn.1/asn1_k_encode.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_encode.c */
/*
- * src/lib/krb5/asn.1/asn1_k_encode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_k_encode.h b/src/lib/krb5/asn.1/asn1_k_encode.h
index 818119c..604ca6a 100644
--- a/src/lib/krb5/asn.1/asn1_k_encode.h
+++ b/src/lib/krb5/asn.1/asn1_k_encode.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_encode.h */
/*
- * src/lib/krb5/asn.1/asn1_k_encode.h
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_make.c b/src/lib/krb5/asn.1/asn1_make.c
index 39fa957..310282d 100644
--- a/src/lib/krb5/asn.1/asn1_make.c
+++ b/src/lib/krb5/asn.1/asn1_make.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_make.c */
/*
- * src/lib/krb5/asn.1/asn1_make.c
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_make.h b/src/lib/krb5/asn.1/asn1_make.h
index dcbaa16..c07bf8c 100644
--- a/src/lib/krb5/asn.1/asn1_make.h
+++ b/src/lib/krb5/asn.1/asn1_make.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_make.h */
/*
- * src/lib/krb5/asn.1/asn1_make.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_misc.c b/src/lib/krb5/asn.1/asn1_misc.c
index bc06966..cfe18a5 100644
--- a/src/lib/krb5/asn.1/asn1_misc.c
+++ b/src/lib/krb5/asn.1/asn1_misc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_misc.c */
/*
- * src/lib/krb5/asn.1/asn1_misc.c
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1_misc.h b/src/lib/krb5/asn.1/asn1_misc.h
index 7d68321..88948d2 100644
--- a/src/lib/krb5/asn.1/asn1_misc.h
+++ b/src/lib/krb5/asn.1/asn1_misc.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_misc.h */
/*
- * src/lib/krb5/asn.1/asn1_misc.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/asn1glue.h b/src/lib/krb5/asn.1/asn1glue.h
index 25cd450..31839ea 100644
--- a/src/lib/krb5/asn.1/asn1glue.h
+++ b/src/lib/krb5/asn.1/asn1glue.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1glue.h */
/*
- * lib/krb5/asn.1/asn1glue.h
- *
* Copyright 1989,1990 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.
- *
+ */
+
+/*
*
* Header file for some glue functions (macros, mostly)
*/
diff --git a/src/lib/krb5/asn.1/krb5_decode.c b/src/lib/krb5/asn.1/krb5_decode.c
index 0fa8e04..6cee3d6 100644
--- a/src/lib/krb5/asn.1/krb5_decode.c
+++ b/src/lib/krb5/asn.1/krb5_decode.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_decode.c */
/*
- * src/lib/krb5/asn.1/krb5_decode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/krb5_decode_kdc.c b/src/lib/krb5/asn.1/krb5_decode_kdc.c
index e888d71..21a3ec2 100644
--- a/src/lib/krb5/asn.1/krb5_decode_kdc.c
+++ b/src/lib/krb5/asn.1/krb5_decode_kdc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_decode_kdc.c */
/*
- * src/lib/krb5/asn.1/krb5_decode_kdc.c
- *
* Copyright 1994, 2008. 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/krb5_decode_macros.h b/src/lib/krb5/asn.1/krb5_decode_macros.h
index a77e74b..fc86705 100644
--- a/src/lib/krb5/asn.1/krb5_decode_macros.h
+++ b/src/lib/krb5/asn.1/krb5_decode_macros.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_decode_macros.h */
/*
- * src/lib/krb5/asn.1/krb5_decode_macros.h
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/asn.1/krb5_encode.c b/src/lib/krb5/asn.1/krb5_encode.c
index 3947579..0f61b5d 100644
--- a/src/lib/krb5/asn.1/krb5_encode.c
+++ b/src/lib/krb5/asn.1/krb5_encode.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_encode.c */
/*
- * src/lib/krb5/asn.1/krb5_encode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/ccache/cc-int.h b/src/lib/krb5/ccache/cc-int.h
index 6854265..97fed63 100644
--- a/src/lib/krb5/ccache/cc-int.h
+++ b/src/lib/krb5/ccache/cc-int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc-int.h */
/*
- * lib/krb5/ccache/file/cc-int.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,11 @@
* 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.
- *
- *
- * This file contains constant and function declarations used in the
- * file-based credential cache routines.
*/
+/* This file contains constant and function declarations used in the
+ * file-based credential cache routines. */
+
#ifndef __KRB5_CCACHE_H__
#define __KRB5_CCACHE_H__
diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c
index 0dce768..117cdd5 100644
--- a/src/lib/krb5/ccache/cc_file.c
+++ b/src/lib/krb5/ccache/cc_file.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_file.c - File-based credential cache */
/*
- * lib/krb5/ccache/cc_file.c
- *
* Copyright 1990,1991,1992,1993,1994,2000,2004,2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -25,9 +24,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.
- *
- *
- * implementation of file-based credentials cache
*/
/*
diff --git a/src/lib/krb5/ccache/cc_keyring.c b/src/lib/krb5/ccache/cc_keyring.c
index 9841ed5..2c77c3c 100644
--- a/src/lib/krb5/ccache/cc_keyring.c
+++ b/src/lib/krb5/ccache/cc_keyring.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_keyring.c */
/*
- * lib/krb5/ccache/cc_keyring.c
- *
* Copyright (c) 2006
* The Regents of the University of Michigan
* ALL RIGHTS RESERVED
@@ -29,11 +28,10 @@
* OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
* IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGES.
- *
*/
/*
- * Copyright 1990,1991,1992,1993,1994,2000,2004 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,1992,1993,1994,2000,2004 Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Original stdio support copyright 1995 by Cygnus Support.
*
diff --git a/src/lib/krb5/ccache/cc_memory.c b/src/lib/krb5/ccache/cc_memory.c
index 578b5dd..5ce6a0e 100644
--- a/src/lib/krb5/ccache/cc_memory.c
+++ b/src/lib/krb5/ccache/cc_memory.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_memory.c - Memory-based credential cache */
/*
- * lib/krb5/ccache/cc_memory.c
- *
- * Copyright 1990,1991,2000,2004,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2000,2004,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.
@@ -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.
- *
- *
- * implementation of memory-based credentials cache
*/
+
#include "cc-int.h"
#include <errno.h>
diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c
index 826794f..9727b4f 100644
--- a/src/lib/krb5/ccache/cc_mslsa.c
+++ b/src/lib/krb5/ccache/cc_mslsa.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_mslsa.c */
/*
- * lib/krb5/ccache/cc_mslsa.c
- *
* Copyright 2007 Secure Endpoints Inc.
*
* Copyright 2003,2004 by the Massachusetts Institute of Technology.
diff --git a/src/lib/krb5/ccache/cc_retr.c b/src/lib/krb5/ccache/cc_retr.c
index c2e305f..52ea8cd 100644
--- a/src/lib/krb5/ccache/cc_retr.c
+++ b/src/lib/krb5/ccache/cc_retr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_retr.c */
/*
- * lib/krb5/ccache/cc_retr.c
- *
* Copyright 1990,1991,1999,2007,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 "k5-int.h"
diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c
index de2bc9d..b646b76 100644
--- a/src/lib/krb5/ccache/ccapi/stdcc.c
+++ b/src/lib/krb5/ccache/ccapi/stdcc.c
@@ -1,13 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccapi/stdcc.c - ccache API support functions */
/*
- * stdcc.c - additions to the Kerberos 5 library to support the memory
- * credentical cache API
- *
- * Written by Frank Dabek July 1998
- * Updated by Jeffrey Altman June 2006
- *
- * Copyright 1998, 1999, 2006, 2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1998, 1999, 2006, 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.
@@ -27,7 +22,11 @@
* 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.
- *
+ */
+
+/*
+ * Written by Frank Dabek July 1998
+ * Updated by Jeffrey Altman June 2006
*/
#if defined(_WIN32) || defined(USE_CCAPI)
diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c
index ab163b3..6a11334 100644
--- a/src/lib/krb5/ccache/ccbase.c
+++ b/src/lib/krb5/ccache/ccbase.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccbase.c - Registration functions for ccache */
/*
- * lib/krb5/ccache/ccbase.c
- *
* Copyright 1990,2004,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Registration functions for ccache.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/ccache/cccursor.c b/src/lib/krb5/ccache/cccursor.c
index 4272c04..3d9bb7c 100644
--- a/src/lib/krb5/ccache/cccursor.c
+++ b/src/lib/krb5/ccache/cccursor.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cccursor.c */
/*
- * lib/krb5/ccache/cccursor.c
- *
* Copyright 2006, 2007 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.
- *
+ */
+
+/*
* cursor for sequential traversal of ccaches
*/
diff --git a/src/lib/krb5/ccache/ccdefault.c b/src/lib/krb5/ccache/ccdefault.c
index a4498d0..e43b163 100644
--- a/src/lib/krb5/ccache/ccdefault.c
+++ b/src/lib/krb5/ccache/ccdefault.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccdefault.c - Find default credential cache */
/*
- * lib/krb5/ccache/ccdefault.c
- *
* Copyright 1990, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Find default credential cache
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/ccache/ccdefops.c b/src/lib/krb5/ccache/ccdefops.c
index e517a25..abe0c6d 100644
--- a/src/lib/krb5/ccache/ccdefops.c
+++ b/src/lib/krb5/ccache/ccdefops.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccdefops.c */
/*
- * lib/krb5/ccache/ccdefops.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,11 @@
* 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.
- *
- *
- * Default credentials cache determination. This is a separate file
- * so that the user can more easily override it.
*/
+/* Default credentials cache determination. This is a separate file
+ * so that the user can more easily override it. */
+
#include "k5-int.h"
#if defined(USE_CCAPI)
diff --git a/src/lib/krb5/ccache/ccfns.c b/src/lib/krb5/ccache/ccfns.c
index 01acd22..0a23738 100644
--- a/src/lib/krb5/ccache/ccfns.c
+++ b/src/lib/krb5/ccache/ccfns.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccfns.c */
/*
- * lib/krb5/ccache/ccfns.c
- *
* Copyright 2000, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/ccache/fcc.h b/src/lib/krb5/ccache/fcc.h
index 7ca60da..7524e12 100644
--- a/src/lib/krb5/ccache/fcc.h
+++ b/src/lib/krb5/ccache/fcc.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/fcc.h */
/*
- * lib/krb5/ccache/file/fcc.h
- *
* Copyright 1990,1991 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.
- *
+ */
+
+/*
*
* This file contains constant and function declarations used in the
* file-based credential cache routines.
diff --git a/src/lib/krb5/ccache/scc.h b/src/lib/krb5/ccache/scc.h
index c6b5254..70d4a36 100644
--- a/src/lib/krb5/ccache/scc.h
+++ b/src/lib/krb5/ccache/scc.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/scc.h */
/*
- * lib/krb5/ccache/stdio/scc.h
- *
* Copyright 1990,1991 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.
- *
+ */
+
+/*
*
* This file contains constant and function declarations used in the
* file-based credential cache routines.
diff --git a/src/lib/krb5/ccache/ser_cc.c b/src/lib/krb5/ccache/ser_cc.c
index 2438dd6..3821b0e 100644
--- a/src/lib/krb5/ccache/ser_cc.c
+++ b/src/lib/krb5/ccache/ser_cc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ser_cc.c - Serialize credential cache context */
/*
- * lib/krb5/ccache/ser_rc.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.
- *
*/
-/*
- * ser_rcdfl.c - Serialize replay cache context.
- */
#include "k5-int.h"
/*
diff --git a/src/lib/krb5/ccache/t_cc.c b/src/lib/krb5/ccache/t_cc.c
index 8d4023f..e14ae7f 100644
--- a/src/lib/krb5/ccache/t_cc.c
+++ b/src/lib/krb5/ccache/t_cc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_cc.c */
/*
- * lib/krb5/ccache/scc_test.c
- *
* Copyright 2000 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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 "k5-int.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/lib/krb5/ccache/t_cccursor.c b/src/lib/krb5/ccache/t_cccursor.c
index 1e4f4b9..355484f 100644
--- a/src/lib/krb5/ccache/t_cccursor.c
+++ b/src/lib/krb5/ccache/t_cccursor.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_cccursor.c */
/*
- * lib/krb5/ccache/t_cccursor.c
- *
* Copyright 2006 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 "autoconf.h"
diff --git a/src/lib/krb5/ccache/t_memory.c b/src/lib/krb5/ccache/t_memory.c
index 9243410..6d103a0 100644
--- a/src/lib/krb5/ccache/t_memory.c
+++ b/src/lib/krb5/ccache/t_memory.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_memory.c */
/*
- * lib/krb5/ccache/file/mcc_test.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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 "mcc.h"
krb5_data client1 = {
diff --git a/src/lib/krb5/ccache/t_stdio.c b/src/lib/krb5/ccache/t_stdio.c
index 0917f5c..15185e3 100644
--- a/src/lib/krb5/ccache/t_stdio.c
+++ b/src/lib/krb5/ccache/t_stdio.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_stdio.c */
/*
- * lib/krb5/ccache/stdio/scc_test.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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 "scc.h"
krb5_data client1 = {
diff --git a/src/lib/krb5/error_tables/init_ets.c b/src/lib/krb5/error_tables/init_ets.c
index 66ef747..e5e50c7 100644
--- a/src/lib/krb5/error_tables/init_ets.c
+++ b/src/lib/krb5/error_tables/init_ets.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/error_tables/init_ets.c - Initialize krb5 library error tables */
/*
- * lib/krb5/error_tables/init_ets.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Initialize Kerberos library error tables.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/keytab/kt-int.h b/src/lib/krb5/keytab/kt-int.h
index 383d346..ebefe80 100644
--- a/src/lib/krb5/keytab/kt-int.h
+++ b/src/lib/krb5/keytab/kt-int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt-int.h */
/*
- * lib/krb5/keytab/kt-int.h
- *
* 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.
- *
+ */
+
+/*
*
* This file contains constant and function declarations used in the
* file-based credential cache routines.
diff --git a/src/lib/krb5/keytab/kt_file.c b/src/lib/krb5/keytab/kt_file.c
index 677a197..f2e26db 100644
--- a/src/lib/krb5/keytab/kt_file.c
+++ b/src/lib/krb5/keytab/kt_file.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt_file.c */
/*
- * lib/krb5/keytab/kt_file.c
- *
* Copyright 1990,1991,1995,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,7 +22,33 @@
* 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 (c) Hewlett-Packard Company 1991
+ * Released to the Massachusetts Institute of Technology for inclusion
+ * in the Kerberos source code distribution.
+ *
+ * Copyright 1990,1991 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
*
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 LEAN_CLIENT
@@ -940,36 +965,9 @@ const krb5_kt_ops krb5_kt_dfl_ops = {
&krb5_ktfile_ser_entry
};
+/* Formerly lib/krb5/keytab/file/ktf_util.c */
+
/*
- * lib/krb5/keytab/file/ktf_util.c
- *
- * Copyright (c) Hewlett-Packard Company 1991
- * Released to the Massachusetts Institute of Technology for inclusion
- * in the Kerberos source code distribution.
- *
- * Copyright 1990,1991 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.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
- * your software as modified software and not distribute it in such a
- * fashion that it might be confused with the original M.I.T. software.
- * 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.
- *
- *
* This function contains utilities for the file based implementation of
* the keytab. There are no public functions in this file.
*
diff --git a/src/lib/krb5/keytab/kt_memory.c b/src/lib/krb5/keytab/kt_memory.c
index 54bbaf0..5ec304a 100644
--- a/src/lib/krb5/keytab/kt_memory.c
+++ b/src/lib/krb5/keytab/kt_memory.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt_memory.c */
/*
- * lib/krb5/keytab/kt_memory.c
- *
* Copyright 2007 by Secure Endpoints Inc.
*
* Permission is hereby granted, free of charge, to any person
diff --git a/src/lib/krb5/keytab/kt_srvtab.c b/src/lib/krb5/keytab/kt_srvtab.c
index 01bd1ed..2ca6166 100644
--- a/src/lib/krb5/keytab/kt_srvtab.c
+++ b/src/lib/krb5/keytab/kt_srvtab.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt_srvtab.c */
/*
- * lib/krb5/keytab/srvtab/kts_resolv.c
- *
* Copyright 1990,1991,2002,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,6 +23,33 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
+/*
+ * Copyright (c) Hewlett-Packard Company 1991
+ * Released to the Massachusetts Institute of Technology for inclusion
+ * in the Kerberos source code distribution.
+ *
+ * Copyright 1990,1991 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 <stdio.h>
@@ -311,39 +337,7 @@ const struct _krb5_kt_ops krb5_kts_ops = {
0
};
-/*
- * formerly: lib/krb5/keytab/srvtab/kts_util.c
- *
- * Copyright (c) Hewlett-Packard Company 1991
- * Released to the Massachusetts Institute of Technology for inclusion
- * in the Kerberos source code distribution.
- *
- * Copyright 1990,1991 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.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
- * your software as modified software and not distribute it in such a
- * fashion that it might be confused with the original M.I.T. software.
- * 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.
- *
- *
- * This function contains utilities for the srvtab based implementation
- * of the keytab. There are no public functions in this file.
- */
+/* formerly: lib/krb5/keytab/srvtab/kts_util.c */
#include <stdio.h>
diff --git a/src/lib/krb5/keytab/ktadd.c b/src/lib/krb5/keytab/ktadd.c
index 10bb246..71f47e7 100644
--- a/src/lib/krb5/keytab/ktadd.c
+++ b/src/lib/krb5/keytab/ktadd.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktadd.c */
/*
- * lib/krb5/keytab/ktadd.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_kt_add_entry()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/keytab/ktbase.c b/src/lib/krb5/keytab/ktbase.c
index b88380e..564e111 100644
--- a/src/lib/krb5/keytab/ktbase.c
+++ b/src/lib/krb5/keytab/ktbase.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktbase.c - Registration functions for keytab */
/*
- * lib/krb5/keytab/ktbase.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+/*
* Copyright 2007 by Secure Endpoints Inc.
*
* Permission is hereby granted, free of charge, to any person
@@ -46,8 +45,6 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
- *
- * Registration functions for keytab.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/keytab/ktdefault.c b/src/lib/krb5/keytab/ktdefault.c
index 7a4d68f..7ee94ed 100644
--- a/src/lib/krb5/keytab/ktdefault.c
+++ b/src/lib/krb5/keytab/ktdefault.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktdefault.c */
/*
- * lib/krb5/keytab/ktdefault.c
- *
* Copyright 1990,2008 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.
- *
+ */
+
+/*
*
* Get a default keytab.
*/
diff --git a/src/lib/krb5/keytab/ktfns.c b/src/lib/krb5/keytab/ktfns.c
index 33c9184..a06689c 100644
--- a/src/lib/krb5/keytab/ktfns.c
+++ b/src/lib/krb5/keytab/ktfns.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktfns.c */
/*
- * lib/krb5/keytab/ktfns.c
- *
* Copyright 2001,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/keytab/ktfr_entry.c b/src/lib/krb5/keytab/ktfr_entry.c
index 8fdbda2..c004840 100644
--- a/src/lib/krb5/keytab/ktfr_entry.c
+++ b/src/lib/krb5/keytab/ktfr_entry.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktfr_entry.c */
/*
- * lib/krb5/keytab/ktfr_entry.c
- *
* Copyright 1990, 2008 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.
- *
- *
- * krb5_kt_free_entry()
*/
+
#ifndef LEAN_CLIENT
#include "k5-int.h"
diff --git a/src/lib/krb5/keytab/ktremove.c b/src/lib/krb5/keytab/ktremove.c
index 1ccefd8..da6a4df 100644
--- a/src/lib/krb5/keytab/ktremove.c
+++ b/src/lib/krb5/keytab/ktremove.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktremove.c */
/*
- * lib/krb5/keytab/ktremove.c
- *
* Copyright 1990,2008 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.
- *
- *
- * krb5_kt_remove_entry()
*/
+
#ifndef LEAN_CLIENT
#include "k5-int.h"
diff --git a/src/lib/krb5/keytab/read_servi.c b/src/lib/krb5/keytab/read_servi.c
index 0172edb..5d5edff 100644
--- a/src/lib/krb5/keytab/read_servi.c
+++ b/src/lib/krb5/keytab/read_servi.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/read_servi.c */
/*
- * lib/krb5/keytab/read_servi.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* This routine is designed to be passed to krb5_rd_req.
* It is a convenience function that reads a key out of a keytab.
* It handles all of the opening and closing of the keytab
diff --git a/src/lib/krb5/keytab/t_keytab.c b/src/lib/krb5/keytab/t_keytab.c
index be7f684..6e87076 100644
--- a/src/lib/krb5/keytab/t_keytab.c
+++ b/src/lib/krb5/keytab/t_keytab.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/t_keytab.c - Tests for keytab interface */
/*
- * lib/krb5/keytab/t_keytab.c
- *
* Copyright (C) 2007 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,13 +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.
- *
- *
- *
- * A set of tests for the keytab interface
*/
-
#include "k5-int.h"
#include "autoconf.h"
#include <stdio.h>
diff --git a/src/lib/krb5/krb/addr_comp.c b/src/lib/krb5/krb/addr_comp.c
index 194fc2b..12177e6 100644
--- a/src/lib/krb5/krb/addr_comp.c
+++ b/src/lib/krb5/krb/addr_comp.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/addr_comp.c */
/*
- * lib/krb5/krb/addr_comp.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_address_compare()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/addr_order.c b/src/lib/krb5/krb/addr_order.c
index b742d01..e9ea0ba 100644
--- a/src/lib/krb5/krb/addr_order.c
+++ b/src/lib/krb5/krb/addr_order.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/addr_order.c */
/*
- * lib/krb5/krb/addr_order.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_address_order()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/addr_srch.c b/src/lib/krb5/krb/addr_srch.c
index 7a60304..113c520 100644
--- a/src/lib/krb5/krb/addr_srch.c
+++ b/src/lib/krb5/krb/addr_srch.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/addr_srch.c */
/*
- * lib/krb5/krb/addr_srch.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_address_search()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/allow_weak.c b/src/lib/krb5/krb/allow_weak.c
index 1290d1f..1c88737 100644
--- a/src/lib/krb5/krb/allow_weak.c
+++ b/src/lib/krb5/krb/allow_weak.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/allow_weak.c */
/*
- * lib/krb5/krb/allow_weak.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Implements krb5_allow_weak_crypto.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/auth_con.c b/src/lib/krb5/krb/auth_con.c
index 65c8766..42e5482 100644
--- a/src/lib/krb5/krb/auth_con.c
+++ b/src/lib/krb5/krb/auth_con.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* lib/krb5/krb/auth_con.c */
/*
- * lib/krb5/krb/auth_con.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,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 "k5-int.h"
diff --git a/src/lib/krb5/krb/authdata.h b/src/lib/krb5/krb/authdata.h
index af5016e..7108fd3 100644
--- a/src/lib/krb5/krb/authdata.h
+++ b/src/lib/krb5/krb/authdata.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/authdata.h */
/*
- * lib/krb5/krb/authdata.h
- *
* Copyright (C) 2009 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.
- *
- *
- * <<< Description >>>
*/
+
#ifndef KRB_AUTHDATA_H
#define KRB_AUTHDATA_H
diff --git a/src/lib/krb5/krb/authdata_dec.c b/src/lib/krb5/krb/authdata_dec.c
index b244b32..5c9efbb 100644
--- a/src/lib/krb5/krb/authdata_dec.c
+++ b/src/lib/krb5/krb/authdata_dec.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/authdata_dec.c */
/*
- * lib/krb5/krb/copy_auth.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- * krb5_decode_authdata_container()
- * krb5_verify_authdata_kdc_issued()
- *
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/lib/krb5/krb/authdata_enc.c b/src/lib/krb5/krb/authdata_enc.c
index 007a4c1..3f7b389 100644
--- a/src/lib/krb5/krb/authdata_enc.c
+++ b/src/lib/krb5/krb/authdata_enc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/authdata_enc.c */
/*
- * lib/krb5/krb/copy_auth.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- * krb5_encode_authdata_container()
- * krb5_make_authdata_kdc_issued()
- *
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/lib/krb5/krb/bld_pr_ext.c b/src/lib/krb5/krb/bld_pr_ext.c
index 899b9ee..9c6a4dc 100644
--- a/src/lib/krb5/krb/bld_pr_ext.c
+++ b/src/lib/krb5/krb/bld_pr_ext.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/bld_pr_ext.c */
/*
- * lib/krb5/krb/bld_pr_ext.c
- *
* Copyright 1991, 2008, 2009 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.
- *
+ */
+
+/*
*
* Build a principal from a list of lengths and strings
*/
diff --git a/src/lib/krb5/krb/bld_princ.c b/src/lib/krb5/krb/bld_princ.c
index 372f6c9..4b979a3 100644
--- a/src/lib/krb5/krb/bld_princ.c
+++ b/src/lib/krb5/krb/bld_princ.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/bld_princ.c - Build a principal from a list of strings */
/*
- * lib/krb5/krb/bld_princ.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Build a principal from a list of strings
*/
#include <stdarg.h>
diff --git a/src/lib/krb5/krb/brand.c b/src/lib/krb5/krb/brand.c
index c7b8a61..60662d5 100644
--- a/src/lib/krb5/krb/brand.c
+++ b/src/lib/krb5/krb/brand.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/brand.c */
/*
- * lib/krb5/krb/brand.c
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/krb5/krb/chk_trans.c b/src/lib/krb5/krb/chk_trans.c
index 64ccb30..0d42c97 100644
--- a/src/lib/krb5/krb/chk_trans.c
+++ b/src/lib/krb5/krb/chk_trans.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/chk_trans.c */
/*
- * lib/krb5/krb/chk_trans.c
- *
* Copyright 2001, 2007 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.
- *
- *
- * krb5_check_transited_list()
*/
+
#include "k5-int.h"
#include <stdarg.h>
diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c
index 5f63f46..17b5ccc 100644
--- a/src/lib/krb5/krb/conv_princ.c
+++ b/src/lib/krb5/krb/conv_princ.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/conv_princ.c */
/*
- * lib/krb5/krb/conv_princ.c
- *
* Copyright 1992 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.
- *
+ */
+
+/*
* Build a principal from a V4 specification, or separate a V5
* principal into name, instance, and realm.
*
diff --git a/src/lib/krb5/krb/copy_addrs.c b/src/lib/krb5/krb/copy_addrs.c
index da55f99..494bccf 100644
--- a/src/lib/krb5/krb/copy_addrs.c
+++ b/src/lib/krb5/krb/copy_addrs.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_addrs.c */
/*
- * lib/krb5/krb/copy_addrs.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_copy_addresses()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/copy_athctr.c b/src/lib/krb5/krb/copy_athctr.c
index 9b942ba..81473d0 100644
--- a/src/lib/krb5/krb/copy_athctr.c
+++ b/src/lib/krb5/krb/copy_athctr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_athctr.c */
/*
- * lib/krb5/krb/copy_athctr.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- *
- * krb5_copy_authenticator()
- * krb5_auth_con_getauthenticator()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/copy_auth.c b/src/lib/krb5/krb/copy_auth.c
index 2accc34..a22d8cb 100644
--- a/src/lib/krb5/krb/copy_auth.c
+++ b/src/lib/krb5/krb/copy_auth.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_auth.c */
/*
- * lib/krb5/krb/copy_auth.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- * krb5_merge_authdata()
- * krb5_copy_authdata()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/lib/krb5/krb/copy_cksum.c b/src/lib/krb5/krb/copy_cksum.c
index 68822d2..90b677b 100644
--- a/src/lib/krb5/krb/copy_cksum.c
+++ b/src/lib/krb5/krb/copy_cksum.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_cksum.c */
/*
- * lib/krb5/krb/copy_cksum.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_copy_checksum()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/copy_creds.c b/src/lib/krb5/krb/copy_creds.c
index 0e1a814..42372a1 100644
--- a/src/lib/krb5/krb/copy_creds.c
+++ b/src/lib/krb5/krb/copy_creds.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_creds.c */
/*
- * lib/krb5/krb/copy_creds.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_copy_cred()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/copy_ctx.c b/src/lib/krb5/krb/copy_ctx.c
index d916c26..c524721 100644
--- a/src/lib/krb5/krb/copy_ctx.c
+++ b/src/lib/krb5/krb/copy_ctx.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_ctx.c */
/*
- * lib/krb5/krb/copy_ctx.c
- *
* Copyright 1994,1999,2000, 2002, 2003, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +22,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.
- *
- * krb5_copy_contex()
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/krb5/krb/copy_data.c b/src/lib/krb5/krb/copy_data.c
index fa4b6ed..9969e04 100644
--- a/src/lib/krb5/krb/copy_data.c
+++ b/src/lib/krb5/krb/copy_data.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_data.c */
/*
- * lib/krb5/krb/copy_data.c
- *
* Copyright 1990,1991,2009 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_copy_data()
*/
diff --git a/src/lib/krb5/krb/copy_key.c b/src/lib/krb5/krb/copy_key.c
index 532cced..26d9b7d 100644
--- a/src/lib/krb5/krb/copy_key.c
+++ b/src/lib/krb5/krb/copy_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_key.c */
/*
- * lib/krb5/krb/copy_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,18 +22,14 @@
* 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_copy_keyblock()
*/
#include "k5-int.h"
-/*
- * Copy a keyblock, including alloc'ed storage.
- */
+/* Copy a keyblock, including alloc'ed storage. */
krb5_error_code KRB5_CALLCONV
-krb5_copy_keyblock(krb5_context context, const krb5_keyblock *from, krb5_keyblock **to)
+krb5_copy_keyblock(krb5_context context, const krb5_keyblock *from,
+ krb5_keyblock **to)
{
return krb5int_c_copy_keyblock(context, from, to);
}
diff --git a/src/lib/krb5/krb/copy_princ.c b/src/lib/krb5/krb/copy_princ.c
index b7badef..3db027e 100644
--- a/src/lib/krb5/krb/copy_princ.c
+++ b/src/lib/krb5/krb/copy_princ.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_princ.c */
/*
- * lib/krb5/krb/copy_princ.c
- *
* Copyright 1990, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_copy_principal()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/copy_tick.c b/src/lib/krb5/krb/copy_tick.c
index db08153..c3e33ff 100644
--- a/src/lib/krb5/krb/copy_tick.c
+++ b/src/lib/krb5/krb/copy_tick.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_tick.c */
/*
- * lib/krb5/krb/copy_tick.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_copy_ticket()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/cp_key_cnt.c b/src/lib/krb5/krb/cp_key_cnt.c
index 2f97dbd..18cb0f2 100644
--- a/src/lib/krb5/krb/cp_key_cnt.c
+++ b/src/lib/krb5/krb/cp_key_cnt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/cp_key_cnt.c */
/*
- * lib/krb5/krb/cp_key_cnt.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_copy_keyblock()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/decode_kdc.c b/src/lib/krb5/krb/decode_kdc.c
index f998a46..b149f0f 100644
--- a/src/lib/krb5/krb/decode_kdc.c
+++ b/src/lib/krb5/krb/decode_kdc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/decode_kdc.c */
/*
- * lib/krb5/krb/decode_kdc.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_decode_kdc_rep() function.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/decrypt_tk.c b/src/lib/krb5/krb/decrypt_tk.c
index 7ce4115..db75c0f 100644
--- a/src/lib/krb5/krb/decrypt_tk.c
+++ b/src/lib/krb5/krb/decrypt_tk.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/decrypt_tk.c */
/*
- * lib/krb5/krb/decrypt_tk.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_decrypt_tkt_part() function.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/deltat.c b/src/lib/krb5/krb/deltat.c
index 36c0d0e..58aacce 100644
--- a/src/lib/krb5/krb/deltat.c
+++ b/src/lib/krb5/krb/deltat.c
@@ -1,6 +1,4 @@
-/* A Bison parser, made by GNU Bison 1.875d. */
-
-/* Skeleton parser for Yacc-like parsing with Bison,
+/*
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -18,6 +16,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* A Bison parser, made by GNU Bison 1.875d. */
+/* Skeleton parser for Yacc-like parsing with Bison. */
+
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
diff --git a/src/lib/krb5/krb/enc_helper.c b/src/lib/krb5/krb/enc_helper.c
index 0a45857..b9bf94c 100644
--- a/src/lib/krb5/krb/enc_helper.c
+++ b/src/lib/krb5/krb/enc_helper.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/enc_helper.c */
/*
- * lib/krb5/krb/enc_helper.c
- *
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
@@ -25,9 +24,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * krb5_encrypt_helper()
- *
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/enc_keyhelper.c b/src/lib/krb5/krb/enc_keyhelper.c
index 43db716..40ac4af 100644
--- a/src/lib/krb5/krb/enc_keyhelper.c
+++ b/src/lib/krb5/krb/enc_keyhelper.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/enc_keyhelper.c */
/*
- * lib/krb5/krb/enc_keyhelper.c
- *
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
diff --git a/src/lib/krb5/krb/encode_kdc.c b/src/lib/krb5/krb/encode_kdc.c
index c86bd4c..5e652d9 100644
--- a/src/lib/krb5/krb/encode_kdc.c
+++ b/src/lib/krb5/krb/encode_kdc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/encode_kdc.c */
/*
- * lib/krb5/krb/encode_kdc.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_encode_kdc_rep() function.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/encrypt_tk.c b/src/lib/krb5/krb/encrypt_tk.c
index acf9c6f..7fcd0ff 100644
--- a/src/lib/krb5/krb/encrypt_tk.c
+++ b/src/lib/krb5/krb/encrypt_tk.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/encrypt_tk.c */
/*
- * lib/krb5/krb/encrypt_tk.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_encrypt_tkt_part() routine.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/etype_list.c b/src/lib/krb5/krb/etype_list.c
index a7fe0d5..a56155f 100644
--- a/src/lib/krb5/krb/etype_list.c
+++ b/src/lib/krb5/krb/etype_list.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/etype_list.c */
/*
- * lib/krb5/krb/etype_list.c
- *
* Copyright (C) 2010 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.
- *
+ */
+
+/*
*
* Helper functions related to zero-terminated lists of enctypes.
*/
diff --git a/src/lib/krb5/krb/fast.c b/src/lib/krb5/krb/fast.c
index 3137195..3939f0e 100644
--- a/src/lib/krb5/krb/fast.c
+++ b/src/lib/krb5/krb/fast.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/fast.c */
/*
- * lib/krb5/krb/fast.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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 <k5-int.h>
diff --git a/src/lib/krb5/krb/fast.h b/src/lib/krb5/krb/fast.h
index 26a3eff..522821d 100644
--- a/src/lib/krb5/krb/fast.h
+++ b/src/lib/krb5/krb/fast.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/fast.h */
/*
- * lib/krb5/krb/fast.h
- *
* Copyright (C) 2009 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.
- *
- *
*/
+
#ifndef KRB_FAST_H
#define KRB_FAST_H
diff --git a/src/lib/krb5/krb/fwd_tgt.c b/src/lib/krb5/krb/fwd_tgt.c
index 5725e49..c398127 100644
--- a/src/lib/krb5/krb/fwd_tgt.c
+++ b/src/lib/krb5/krb/fwd_tgt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/fwd_tgt.c */
/*
- * lib/krb5/krb/get_in_tkt.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/krb/gc_via_tkt.c b/src/lib/krb5/krb/gc_via_tkt.c
index 5bee608..525de0c 100644
--- a/src/lib/krb5/krb/gc_via_tkt.c
+++ b/src/lib/krb5/krb/gc_via_tkt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gc_via_tkt.c */
/*
- * lib/krb5/krb/gc_via_tgt.c
- *
* Copyright 1990,1991,2007-2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Given a tkt, and a target cred, get it.
* Assumes that the kdc_rep has been decrypted.
*/
diff --git a/src/lib/krb5/krb/gen_save_subkey.c b/src/lib/krb5/krb/gen_save_subkey.c
index b7f63d2..801eed4 100644
--- a/src/lib/krb5/krb/gen_save_subkey.c
+++ b/src/lib/krb5/krb/gen_save_subkey.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gen_save_subkey.c */
/*
- * lib/krb5/krb/gen_save_subkey.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5int_generate_and_save_subkey()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/gen_seqnum.c b/src/lib/krb5/krb/gen_seqnum.c
index 8703457..7ac2821 100644
--- a/src/lib/krb5/krb/gen_seqnum.c
+++ b/src/lib/krb5/krb/gen_seqnum.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gen_seqnum.c */
/*
- * lib/krb5/krb/gen_seqnum.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Routine to automatically generate a starting sequence number.
* We do this by getting a random key and encrypting something with it,
* then taking the output and slicing it up.
diff --git a/src/lib/krb5/krb/gen_subkey.c b/src/lib/krb5/krb/gen_subkey.c
index 7739f04..45f7b18 100644
--- a/src/lib/krb5/krb/gen_subkey.c
+++ b/src/lib/krb5/krb/gen_subkey.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gen_subkey.c - Generate a subsession key based on input key */
/*
- * lib/krb5/krb/gen_subkey.c
- *
* Copyright 1991, 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Routine to automatically generate a subsession key based on an input key.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/get_creds.c b/src/lib/krb5/krb/get_creds.c
index cf216b7..dcce7ed 100644
--- a/src/lib/krb5/krb/get_creds.c
+++ b/src/lib/krb5/krb/get_creds.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/get_creds.c */
/*
- * lib/krb5/krb/get_creds.c
- *
* Copyright 1990, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,26 +22,20 @@
* 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_get_credentials()
*/
-
-
/*
- Attempts to use the credentials cache or TGS exchange to get an additional
- ticket for the
- client identified by in_creds->client, the server identified by
- in_creds->server, with options options, expiration date specified in
- in_creds->times.endtime (0 means as long as possible), session key type
- specified in in_creds->keyblock.enctype (if non-zero)
-
- Any returned ticket and intermediate ticket-granting tickets are
- stored in ccache.
-
- returns errors from encryption routines, system errors
-*/
+ * Attempts to use the credentials cache or TGS exchange to get an additional
+ * ticket for the client identified by in_creds->client, the server identified
+ * by in_creds->server, with options options, expiration date specified in
+ * in_creds->times.endtime (0 means as long as possible), session key type
+ * specified in in_creds->keyblock.enctype (if non-zero)
+ *
+ * Any returned ticket and intermediate ticket-granting tickets are stored in
+ * ccache.
+ *
+ * Returns errors from encryption routines, system errors.
+ */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c
index 71d1e12..b87eb07 100644
--- a/src/lib/krb5/krb/get_in_tkt.c
+++ b/src/lib/krb5/krb/get_in_tkt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/get_in_tkt.c */
/*
- * lib/krb5/krb/get_in_tkt.c
- *
* Copyright 1990,1991, 2003, 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 <string.h>
diff --git a/src/lib/krb5/krb/gic_keytab.c b/src/lib/krb5/krb/gic_keytab.c
index c4c6d32..88de6a8 100644
--- a/src/lib/krb5/krb/gic_keytab.c
+++ b/src/lib/krb5/krb/gic_keytab.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gic_keytab.c */
/*
- * lib/krb5/krb/gic_keytab.c
- *
* Copyright (C) 2002, 2003, 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/lib/krb5/krb/in_tkt_sky.c b/src/lib/krb5/krb/in_tkt_sky.c
index f2888e5..bd8b771 100644
--- a/src/lib/krb5/krb/in_tkt_sky.c
+++ b/src/lib/krb5/krb/in_tkt_sky.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/in_tkt_sky.c */
/*
- * lib/krb5/krb/in_tkt_sky.c
- *
* Copyright 1990,1991, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- *
- * krb5_get_in_tkt_with_skey()
- *
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c
index 4eae4d7..cd0685d 100644
--- a/src/lib/krb5/krb/init_ctx.c
+++ b/src/lib/krb5/krb/init_ctx.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/init_ctx.c */
/*
- * lib/krb5/krb/init_ctx.c
- *
* Copyright 1994,1999,2000, 2002, 2003, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +22,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.
- *
- * krb5_init_contex()
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
diff --git a/src/lib/krb5/krb/init_keyblock.c b/src/lib/krb5/krb/init_keyblock.c
index 6fe6630..7e24cbd 100644
--- a/src/lib/krb5/krb/init_keyblock.c
+++ b/src/lib/krb5/krb/init_keyblock.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/init_keyblock.c - Set up an empty keyblock */
/*
- * lib/krb5/krb/init_keyblock.c
- *
* Copyright (C) 2002 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,14 +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.
- *
- *
- *
- * krb5_init_keyblock- a function to set up
- * an empty keyblock
*/
-
#include "k5-int.h"
#include <assert.h>
@@ -38,5 +31,5 @@ krb5_error_code KRB5_CALLCONV
krb5_init_keyblock(krb5_context context, krb5_enctype enctype,
size_t length, krb5_keyblock **out)
{
- return krb5int_c_init_keyblock (context, enctype, length, out);
+ return krb5int_c_init_keyblock(context, enctype, length, out);
}
diff --git a/src/lib/krb5/krb/int-proto.h b/src/lib/krb5/krb/int-proto.h
index babfeb0..fe14615 100644
--- a/src/lib/krb5/krb/int-proto.h
+++ b/src/lib/krb5/krb/int-proto.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/int-proto.h - Prototypes for libkrb5 internal functions */
/*
- * lib/krb5/krb/int-proto.h
- *
* Copyright 1990,1991 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.
- *
- *
- * Function prototypes for Kerberos V5 library internal functions.
*/
-
#ifndef KRB5_INT_FUNC_PROTO__
#define KRB5_INT_FUNC_PROTO__
diff --git a/src/lib/krb5/krb/kdc_rep_dc.c b/src/lib/krb5/krb/kdc_rep_dc.c
index dfd3ba2..0aedcb7 100644
--- a/src/lib/krb5/krb/kdc_rep_dc.c
+++ b/src/lib/krb5/krb/kdc_rep_dc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/kdc_rep_dc.c */
/*
- * lib/krb5/krb/kdc_rep_dc.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_kdc_rep_decrypt_proc()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/kerrs.c b/src/lib/krb5/krb/kerrs.c
index 7525e29..b94fd82 100644
--- a/src/lib/krb5/krb/kerrs.c
+++ b/src/lib/krb5/krb/kerrs.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/kerrs.c - Error message functions */
/*
- * lib/krb5/krb/kerrs.c
- *
* Copyright 2006 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.
- *
- * error-message functions
*/
+
#include <stdarg.h>
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/kfree.c b/src/lib/krb5/krb/kfree.c
index 476a513..31e786c 100644
--- a/src/lib/krb5/krb/kfree.c
+++ b/src/lib/krb5/krb/kfree.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/kfree.c */
/*
- * lib/krb5/free/f_addr.c
- *
* Copyright 1990-1998, 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * krb5_free_address()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/lib/krb5/krb/libdef_parse.c b/src/lib/krb5/krb/libdef_parse.c
index 7919a2d..05b912d 100644
--- a/src/lib/krb5/krb/libdef_parse.c
+++ b/src/lib/krb5/krb/libdef_parse.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/libdef_parse.c */
/*
- * lib/krb5/krb/libdef_parse.c
- *
* Copyright 2009 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.
- *
+ */
+
+/*
* krb5int_libdefault_string()
* krb5int_libdefault_boolean()
*
diff --git a/src/lib/krb5/krb/mk_error.c b/src/lib/krb5/krb/mk_error.c
index 44fd3b4..d1acd02 100644
--- a/src/lib/krb5/krb/mk_error.c
+++ b/src/lib/krb5/krb/mk_error.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_error.c */
/*
- * lib/krb5/krb/mk_error.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_mk_error() routine.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/mk_priv.c b/src/lib/krb5/krb/mk_priv.c
index dc781b7..6d87d05 100644
--- a/src/lib/krb5/krb/mk_priv.c
+++ b/src/lib/krb5/krb/mk_priv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_priv.c */
/*
- * lib/krb5/krb/mk_priv.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_mk_priv()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/mk_rep.c b/src/lib/krb5/krb/mk_rep.c
index af02404..0681a22 100644
--- a/src/lib/krb5/krb/mk_rep.c
+++ b/src/lib/krb5/krb/mk_rep.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_rep.c */
/*
- * lib/krb5/krb/mk_rep.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_mk_rep()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/lib/krb5/krb/mk_req.c b/src/lib/krb5/krb/mk_req.c
index ceb60cb..542ef6d 100644
--- a/src/lib/krb5/krb/mk_req.c
+++ b/src/lib/krb5/krb/mk_req.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_req.c */
/*
- * lib/krb5/krb/mk_req.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_mk_req() routine.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/mk_req_ext.c b/src/lib/krb5/krb/mk_req_ext.c
index 1979b8d..1938cbe 100644
--- a/src/lib/krb5/krb/mk_req_ext.c
+++ b/src/lib/krb5/krb/mk_req_ext.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_req_ext.c */
/*
- * lib/krb5/krb/mk_req_ext.c
- *
* Copyright 1990,1991 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_mk_req_extended()
*/
diff --git a/src/lib/krb5/krb/mk_safe.c b/src/lib/krb5/krb/mk_safe.c
index 1f17c60..428a5e8 100644
--- a/src/lib/krb5/krb/mk_safe.c
+++ b/src/lib/krb5/krb/mk_safe.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_safe.c */
/*
- * lib/krb5/krb/mk_safe.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_mk_safe()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/pac.c b/src/lib/krb5/krb/pac.c
index 067bb17..84aecec 100644
--- a/src/lib/krb5/krb/pac.c
+++ b/src/lib/krb5/krb/pac.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/pac.c */
/*
- * lib/krb5/krb/pac.c
- *
* Copyright 2008 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 "k5-int.h"
diff --git a/src/lib/krb5/krb/pac_sign.c b/src/lib/krb5/krb/pac_sign.c
index 7cee3a9..ae11a0c 100644
--- a/src/lib/krb5/krb/pac_sign.c
+++ b/src/lib/krb5/krb/pac_sign.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/pac_sign.c */
/*
- * lib/krb5/krb/pac.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.
- *
- * krb5int_pac_sign()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/parse.c b/src/lib/krb5/krb/parse.c
index b78cc43..14ac02d 100644
--- a/src/lib/krb5/krb/parse.c
+++ b/src/lib/krb5/krb/parse.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/parse.c */
/*
- * lib/krb5/krb/parse.c
- *
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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_parse_name() routine.
*
* Rewritten by Theodore Ts'o to properly handle arbitrary quoted
diff --git a/src/lib/krb5/krb/pkinit_apple_asn1.c b/src/lib/krb5/krb/pkinit_apple_asn1.c
index 12b5215..f968e05 100644
--- a/src/lib/krb5/krb/pkinit_apple_asn1.c
+++ b/src/lib/krb5/krb/pkinit_apple_asn1.c
@@ -21,11 +21,11 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
- * pkinit_apple_asn1.c - ASN.1 encode/decode routines for PKINIT, Mac OS X version
+ * pkinit_apple_asn1.c - ASN.1 encode/decode routines for PKINIT, Mac OS X
+ * version
*
* Created 19 May 2004 by Doug Mitchell.
*/
diff --git a/src/lib/krb5/krb/pkinit_apple_cert_store.c b/src/lib/krb5/krb/pkinit_apple_cert_store.c
index 2bcbd44..4785b2f 100644
--- a/src/lib/krb5/krb/pkinit_apple_cert_store.c
+++ b/src/lib/krb5/krb/pkinit_apple_cert_store.c
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/lib/krb5/krb/pkinit_apple_client.c b/src/lib/krb5/krb/pkinit_apple_client.c
index b2b6cb9..6183d8b 100644
--- a/src/lib/krb5/krb/pkinit_apple_client.c
+++ b/src/lib/krb5/krb/pkinit_apple_client.c
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/lib/krb5/krb/pkinit_apple_cms.c b/src/lib/krb5/krb/pkinit_apple_cms.c
index f11b4ee..e399ea5 100644
--- a/src/lib/krb5/krb/pkinit_apple_cms.c
+++ b/src/lib/krb5/krb/pkinit_apple_cms.c
@@ -21,7 +21,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
diff --git a/src/lib/krb5/krb/plugin.c b/src/lib/krb5/krb/plugin.c
index 0df393a..be909f1 100644
--- a/src/lib/krb5/krb/plugin.c
+++ b/src/lib/krb5/krb/plugin.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/plugin.c - Plugin framework functions */
/*
- * lib/krb5/krb/plugin.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Plugin framework functions
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/pr_to_salt.c b/src/lib/krb5/krb/pr_to_salt.c
index 505c568..416c1ef 100644
--- a/src/lib/krb5/krb/pr_to_salt.c
+++ b/src/lib/krb5/krb/pr_to_salt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/pr_to_salt.c */
/*
- * lib/krb5/krb/pr_to_salt.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_principal2salt()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/princ_comp.c b/src/lib/krb5/krb/princ_comp.c
index 3565f2c..9d83487 100644
--- a/src/lib/krb5/krb/princ_comp.c
+++ b/src/lib/krb5/krb/princ_comp.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/princ_comp.c - Compare two principals for equality */
/*
- * lib/krb5/krb/princ_comp.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- *
- * compare two principals, returning a krb5_boolean true if equal, false if
- * not.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/rd_error.c b/src/lib/krb5/krb/rd_error.c
index 39d9acd..dbb6798 100644
--- a/src/lib/krb5/krb/rd_error.c
+++ b/src/lib/krb5/krb/rd_error.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_error.c */
/*
- * lib/krb5/krb/rd_error.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,21 +22,16 @@
* 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_rd_error() routine
*/
#include "k5-int.h"
/*
- * Parses an error message from enc_errbuf and returns an allocated
- * structure which contain the error message.
- *
- * Upon return dec_error will point to allocated storage which the
- * caller should free when finished.
+ * Parse an error message from enc_errbuf and return an allocated structure
+ * containing the error message. Upon return, dec_error will point to
+ * allocated storage which the caller should free when finished.
*
- * returns system errors
+ * Returns system errors.
*/
krb5_error_code KRB5_CALLCONV
diff --git a/src/lib/krb5/krb/rd_priv.c b/src/lib/krb5/krb/rd_priv.c
index a6c7930..64b191a 100644
--- a/src/lib/krb5/krb/rd_priv.c
+++ b/src/lib/krb5/krb/rd_priv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_priv.c */
/*
- * lib/krb5/krb/rd_priv.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_rd_priv()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/rd_rep.c b/src/lib/krb5/krb/rd_rep.c
index 2fdb2a0..1ace4ca 100644
--- a/src/lib/krb5/krb/rd_rep.c
+++ b/src/lib/krb5/krb/rd_rep.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_rep.c */
/*
- * lib/krb5/krb/rd_rep.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_rd_rep()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
diff --git a/src/lib/krb5/krb/rd_req.c b/src/lib/krb5/krb/rd_req.c
index 4e12e5b..5ad77c1 100644
--- a/src/lib/krb5/krb/rd_req.c
+++ b/src/lib/krb5/krb/rd_req.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_req.c */
/*
- * lib/krb5/krb/rd_req.c
- *
* Copyright 1990,1991, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_rd_req()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/rd_req_dec.c b/src/lib/krb5/krb/rd_req_dec.c
index 80d5cc5..83c4ef7 100644
--- a/src/lib/krb5/krb/rd_req_dec.c
+++ b/src/lib/krb5/krb/rd_req_dec.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_req_dec.c */
/*
- * lib/krb5/krb/rd_req_dec.c
- *
* Copyright (c) 1994 CyberSAFE Corporation.
* Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
diff --git a/src/lib/krb5/krb/rd_safe.c b/src/lib/krb5/krb/rd_safe.c
index 2f29d48..baeb281 100644
--- a/src/lib/krb5/krb/rd_safe.c
+++ b/src/lib/krb5/krb/rd_safe.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_safe.c - definition of krb5_rd_safe() */
/*
- * lib/krb5/krb/rd_safe.c - definition of krb5_rd_safe()
- *
* Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_rd_safe()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/recvauth.c b/src/lib/krb5/krb/recvauth.c
index 90746ba..aa6e378 100644
--- a/src/lib/krb5/krb/recvauth.c
+++ b/src/lib/krb5/krb/recvauth.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/recvauth.c */
/*
- * lib/krb5/krb/recvauth.c
- *
* Copyright 1991 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.
- *
+ */
+
+/*
*
* convenience sendauth/recvauth functions
*/
diff --git a/src/lib/krb5/krb/s4u_creds.c b/src/lib/krb5/krb/s4u_creds.c
index da6dd0c..e79ab86 100644
--- a/src/lib/krb5/krb/s4u_creds.c
+++ b/src/lib/krb5/krb/s4u_creds.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/s4u_creds.c */
/*
- * lib/krb5/krb/s4u_creds.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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 "k5-int.h"
diff --git a/src/lib/krb5/krb/send_tgs.c b/src/lib/krb5/krb/send_tgs.c
index 41ab4ec..36acca5 100644
--- a/src/lib/krb5/krb/send_tgs.c
+++ b/src/lib/krb5/krb/send_tgs.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/send_tgs.c */
/*
- * lib/krb5/krb/send_tgs.c
- *
* Copyright 1990,1991,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_send_tgs()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/sendauth.c b/src/lib/krb5/krb/sendauth.c
index 30b72b9..dc0c6e8 100644
--- a/src/lib/krb5/krb/sendauth.c
+++ b/src/lib/krb5/krb/sendauth.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/sendauth.c */
/*
- * lib/krb5/krb/sendauth.c
- *
* Copyright 1991, 2009 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.
- *
- *
- * convenience sendauth/recvauth functions
*/
-
#include "k5-int.h"
#include "com_err.h"
#include "auth_con.h"
diff --git a/src/lib/krb5/krb/ser_actx.c b/src/lib/krb5/krb/ser_actx.c
index ccd1e2d..4ac8112 100644
--- a/src/lib/krb5/krb/ser_actx.c
+++ b/src/lib/krb5/krb/ser_actx.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_actx.c - Serialize krb5_auth_context structure */
/*
- * lib/krb5/krb/ser_actx.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.
- *
*/
-/*
- * ser_actx.c - Serialize krb5_auth_context structure.
- */
#include "k5-int.h"
#include "int-proto.h"
#include "auth_con.h"
diff --git a/src/lib/krb5/krb/ser_adata.c b/src/lib/krb5/krb/ser_adata.c
index 77a76fd..9f18f8e 100644
--- a/src/lib/krb5/krb/ser_adata.c
+++ b/src/lib/krb5/krb/ser_adata.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_adata.c - Serialize krb5_authdata structure */
/*
- * lib/krb5/krb/ser_adata.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.
- *
*/
-/*
- * ser_adata.c - Serialize a krb5_authdata structure.
- */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/ser_addr.c b/src/lib/krb5/krb/ser_addr.c
index e7b6421..46a8391 100644
--- a/src/lib/krb5/krb/ser_addr.c
+++ b/src/lib/krb5/krb/ser_addr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_addr.c - Serialize krb5_address structure */
/*
- * lib/krb5/krb/ser_addr.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.
- *
*/
-/*
- * ser_addr.c - Serialize a krb5_address structure.
- */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/ser_auth.c b/src/lib/krb5/krb/ser_auth.c
index 23b9b57..861c97e 100644
--- a/src/lib/krb5/krb/ser_auth.c
+++ b/src/lib/krb5/krb/ser_auth.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_auth.c - Serialize krb5_authenticator structure */
/*
- * lib/krb5/krb/ser_auth.c
- *
* Copyright 1995, 2008 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.
- *
- */
-
-/*
- * ser_auth.c - Serialize krb5_authenticator structure.
*/
#ifndef LEAN_CLIENT
diff --git a/src/lib/krb5/krb/ser_cksum.c b/src/lib/krb5/krb/ser_cksum.c
index 4d194c7..5417f1c 100644
--- a/src/lib/krb5/krb/ser_cksum.c
+++ b/src/lib/krb5/krb/ser_cksum.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_cksum.c - Serialize krb5_checksum structure */
/*
- * lib/krb5/krb/ser_cksum.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.
- *
*/
-/*
- * ser_cksum.c - Serialize a krb5_checksum structure.
- */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/ser_ctx.c b/src/lib/krb5/krb/ser_ctx.c
index a925b6d..099611a 100644
--- a/src/lib/krb5/krb/ser_ctx.c
+++ b/src/lib/krb5/krb/ser_ctx.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_ctx.c - Serialize krb5_context structure */
/*
- * lib/krb5/krb/ser_ctx.c
- *
* Copyright 1995, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,13 +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_ctx.c - Routines to deal with serializing the krb5_context and
- * krb5_os_context structures.
- */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/ser_eblk.c b/src/lib/krb5/krb/ser_eblk.c
index 894a43e..e77e4aa 100644
--- a/src/lib/krb5/krb/ser_eblk.c
+++ b/src/lib/krb5/krb/ser_eblk.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_eblk.c */
/*
- * lib/krb5/krb/ser_eblk.c
- *
* Copyright 1995, 2008 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.
- *
*/
#if 0 /* i don't believe this is used anywhere --marc */
diff --git a/src/lib/krb5/krb/ser_key.c b/src/lib/krb5/krb/ser_key.c
index f441e98..eb3be06 100644
--- a/src/lib/krb5/krb/ser_key.c
+++ b/src/lib/krb5/krb/ser_key.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_key.c - Serialize krb5_keyblock structure */
/*
- * lib/krb5/krb/ser_key.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.
- *
*/
-/*
- * ser_key.c - Serialize a krb5_keyblock structure.
- */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/ser_princ.c b/src/lib/krb5/krb/ser_princ.c
index d93fbbe..862638e 100644
--- a/src/lib/krb5/krb/ser_princ.c
+++ b/src/lib/krb5/krb/ser_princ.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_princ.c - Serialize krb5_principal structure */
/*
- * lib/krb5/krb/ser_princ.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.
- *
*/
-/*
- * ser_princ.c - Serialize a krb5_principal structure.
- */
#include "k5-int.h"
#include "int-proto.h"
diff --git a/src/lib/krb5/krb/serialize.c b/src/lib/krb5/krb/serialize.c
index 4e08aa9..9ad2d22 100644
--- a/src/lib/krb5/krb/serialize.c
+++ b/src/lib/krb5/krb/serialize.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/serialize.c - Base serialization routines */
/*
- * lib/krb5/krb/serialize.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.
- *
*/
-/*
- * Base routines to deal with serialization of Kerberos metadata.
- */
#include "k5-int.h"
/*
diff --git a/src/lib/krb5/krb/set_realm.c b/src/lib/krb5/krb/set_realm.c
index 94a4763..5a7f81a 100644
--- a/src/lib/krb5/krb/set_realm.c
+++ b/src/lib/krb5/krb/set_realm.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/set_realm.c */
/*
- * lib/krb5/krb/set_realm.c
- *
* Copyright 1997 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/krb/srv_dec_tkt.c b/src/lib/krb5/krb/srv_dec_tkt.c
index f266fa5..645bc75 100644
--- a/src/lib/krb5/krb/srv_dec_tkt.c
+++ b/src/lib/krb5/krb/srv_dec_tkt.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/srv_dec_tkt.c */
/*
- * lib/krb5/krb/srv_dec_tkt.c
- *
* Copyright 2006, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Server decrypt ticket via keytab or keyblock.
*
* Different from krb5_rd_req_decoded. (krb5/src/lib/krb5/krb/rd_req_dec.c)
diff --git a/src/lib/krb5/krb/srv_rcache.c b/src/lib/krb5/krb/srv_rcache.c
index 6730748..d474fb6 100644
--- a/src/lib/krb5/krb/srv_rcache.c
+++ b/src/lib/krb5/krb/srv_rcache.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/srv_rcache.c - Acquire default replay cache for a server */
/*
- * lib/krb5/krb/srv_rcache.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Allocate & prepare a default replay cache for a server.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/str_conv.c b/src/lib/krb5/krb/str_conv.c
index 6ed6392..21e7fd9 100644
--- a/src/lib/krb5/krb/str_conv.c
+++ b/src/lib/krb5/krb/str_conv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/str_conv.c - Convert between strings and krb5 data types */
/*
- * lib/kadm/str_conv.c
- *
* Copyright 1995, 1999, 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.
- *
- */
-
-/*
- * str_conv.c - Convert between strings and Kerberos internal data.
*/
/*
diff --git a/src/lib/krb5/krb/strptime.c b/src/lib/krb5/krb/strptime.c
index b1d5d6c..22813f5 100644
--- a/src/lib/krb5/krb/strptime.c
+++ b/src/lib/krb5/krb/strptime.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-/* $NetBSD: strptime.c,v 1.18 1999/04/29 02:58:30 tv Exp $ */
-
-/*-
+/* lib/krb5/krb/strptime.c */
+/*
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
diff --git a/src/lib/krb5/krb/t_authdata.c b/src/lib/krb5/krb/t_authdata.c
index ac1f7a7..6e4fb21 100644
--- a/src/lib/krb5/krb/t_authdata.c
+++ b/src/lib/krb5/krb/t_authdata.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_authdata.c - Test authorization data search */
/*
- * lib/krb5/krb/t_authdata.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,10 +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.
- *
- *
- *
- * Test authorization data search
*/
#include <k5-int.h>
diff --git a/src/lib/krb5/krb/t_deltat.c b/src/lib/krb5/krb/t_deltat.c
index dcf14af..8a50c69 100644
--- a/src/lib/krb5/krb/t_deltat.c
+++ b/src/lib/krb5/krb/t_deltat.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_deltat.c */
/*
- * lib/krb5/krb/t_deltat.c
- *
* Copyright 1999 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 "k5-int.h"
diff --git a/src/lib/krb5/krb/t_etypes.c b/src/lib/krb5/krb/t_etypes.c
index 5de4ced..72dbb20 100644
--- a/src/lib/krb5/krb/t_etypes.c
+++ b/src/lib/krb5/krb/t_etypes.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_etypes.c - test program for krb5int_parse_enctype_list */
/*
- * t_etypes.c -- test program for krb5int_parse_enctype_list
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/krb/t_expire_warn.c b/src/lib/krb5/krb/t_expire_warn.c
index 12cdec1..c6ff824 100644
--- a/src/lib/krb5/krb/t_expire_warn.c
+++ b/src/lib/krb5/krb/t_expire_warn.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_expire_warn.c - Test harness for password expiry warnings */
/*
- * lib/krb5/krb/t_expire_warn.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Test harness for password expiration warnings.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/t_princ.c b/src/lib/krb5/krb/t_princ.c
index 6664a75..502c22a 100644
--- a/src/lib/krb5/krb/t_princ.c
+++ b/src/lib/krb5/krb/t_princ.c
@@ -29,7 +29,8 @@
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/t_ser.c b/src/lib/krb5/krb/t_ser.c
index daad0c7..f2d5118 100644
--- a/src/lib/krb5/krb/t_ser.c
+++ b/src/lib/krb5/krb/t_ser.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_ser.c - Test serialization */
/*
- * lib/krb5/krb/t_ser.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.
- *
*/
-/*
- * t_ser.c - Test serialization.
- */
#include "k5-int.h"
#include "com_err.h"
#include "auth_con.h"
diff --git a/src/lib/krb5/krb/tgtname.c b/src/lib/krb5/krb/tgtname.c
index 416badd..1a02880 100644
--- a/src/lib/krb5/krb/tgtname.c
+++ b/src/lib/krb5/krb/tgtname.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/tgtname.c */
/*
- * lib/krb5/krb/tgtname.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5int_tgtname()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/unparse.c b/src/lib/krb5/krb/unparse.c
index 68f82d4..0f1d1c0 100644
--- a/src/lib/krb5/krb/unparse.c
+++ b/src/lib/krb5/krb/unparse.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/unparse.c */
/*
- * lib/krb5/krb/unparse.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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_unparse_name() routine
*
* Rewritten by Theodore Ts'o to properly unparse principal names
diff --git a/src/lib/krb5/krb/val_renew.c b/src/lib/krb5/krb/val_renew.c
index bc3b90c..ef37bdf 100644
--- a/src/lib/krb5/krb/val_renew.c
+++ b/src/lib/krb5/krb/val_renew.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/val_renew.c */
/*
- * lib/krb5/krb/val_renew.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Implements the following APIs:
*
* krb5_get_credentials_validate
diff --git a/src/lib/krb5/krb/valid_times.c b/src/lib/krb5/krb/valid_times.c
index ce99ff4..d631221 100644
--- a/src/lib/krb5/krb/valid_times.c
+++ b/src/lib/krb5/krb/valid_times.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/valid_times.c */
/*
- * lib/krb5/krb/valid_times.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5int_validate_times()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/krb/walk_rtree.c b/src/lib/krb5/krb/walk_rtree.c
index 8e19e68..6aba24f 100644
--- a/src/lib/krb5/krb/walk_rtree.c
+++ b/src/lib/krb5/krb/walk_rtree.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/walk_rtree.c */
/*
- * lib/krb5/krb/walk_rtree.c
- *
* Copyright 1990,1991,2008,2009 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_walk_realm_tree()
* krb5_free_realm_tree()
*
diff --git a/src/lib/krb5/os/accessor.c b/src/lib/krb5/os/accessor.c
index a0cdce6..532cd38 100644
--- a/src/lib/krb5/os/accessor.c
+++ b/src/lib/krb5/os/accessor.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/accessor.c */
/*
- * lib/krb5/os/accessor.c
- *
* Copyright 1990, 2008 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 "k5-int.h"
diff --git a/src/lib/krb5/os/an_to_ln.c b/src/lib/krb5/os/an_to_ln.c
index 8572cc0..a5846c7 100644
--- a/src/lib/krb5/os/an_to_ln.c
+++ b/src/lib/krb5/os/an_to_ln.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/an_to_ln.c */
/*
- * lib/krb5/os/an_to_ln.c
- *
* Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_aname_to_localname()
*/
/*
diff --git a/src/lib/krb5/os/c_ustime.c b/src/lib/krb5/os/c_ustime.c
index 1bfdac4..3dabe80 100644
--- a/src/lib/krb5/os/c_ustime.c
+++ b/src/lib/krb5/os/c_ustime.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/c_ustime.c */
/*
- * lib/crypto/os/c_ustime.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_mstimeofday for BSD 4.3
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c
index 0686e72..c460133 100644
--- a/src/lib/krb5/os/ccdefname.c
+++ b/src/lib/krb5/os/ccdefname.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/ccdefname.c - Return default credential cache name */
/*
- * lib/krb5/os/ccdefname.c
- *
* Copyright 1990, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Return default cred. cache name.
*/
#define NEED_WINDOWS
diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c
index 6ebe8db..5c383ec 100644
--- a/src/lib/krb5/os/changepw.c
+++ b/src/lib/krb5/os/changepw.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/changepw.c */
/*
- * lib/krb5/os/changepw.c
- *
* Copyright 1990,1999,2001,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,13 @@
* 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_set_password - Implements set password per RFC 3244
* Added by Paul W. Nelson, Thursby Software Systems, Inc.
- * Modified by Todd Stecher, Isilon Systems, to use krb1.4 socket infrastructure
+ * Modified by Todd Stecher, Isilon Systems, to use krb1.4 socket
+ * infrastructure
*/
#include "fake-addrinfo.h"
diff --git a/src/lib/krb5/os/def_realm.c b/src/lib/krb5/os/def_realm.c
index 878aa29..f47e170 100644
--- a/src/lib/krb5/os/def_realm.c
+++ b/src/lib/krb5/os/def_realm.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/def_realm.c */
/*
- * lib/krb5/os/def_realm.c
- *
* Copyright 1990,1991,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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_get_default_realm(), krb5_set_default_realm(),
* krb5_free_default_realm() functions.
*/
diff --git a/src/lib/krb5/os/dnsglue.c b/src/lib/krb5/os/dnsglue.c
index 4742c0a..826e159 100644
--- a/src/lib/krb5/os/dnsglue.c
+++ b/src/lib/krb5/os/dnsglue.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/dnsglue.c */
/*
- * lib/krb5/os/dnsglue.c
- *
* Copyright 2004, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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 "autoconf.h"
#ifdef KRB5_DNS_LOOKUP
diff --git a/src/lib/krb5/os/dnsglue.h b/src/lib/krb5/os/dnsglue.h
index d829886..e66de6a 100644
--- a/src/lib/krb5/os/dnsglue.h
+++ b/src/lib/krb5/os/dnsglue.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/dnsglue.h */
/*
- * lib/krb5/os/dnsglue.h
- *
* 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.
- *
+ */
+
+/*
* Glue layer for DNS resolver, to make parsing of replies easier
* whether we are using BIND 4, 8, or 9.
*/
diff --git a/src/lib/krb5/os/dnssrv.c b/src/lib/krb5/os/dnssrv.c
index 983f0be..4332ac7 100644
--- a/src/lib/krb5/os/dnssrv.c
+++ b/src/lib/krb5/os/dnssrv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/dnssrv.c - Perform DNS SRV queries */
/*
- * lib/krb5/os/dnssrv.c
- *
* Copyright 1990,2000,2001,2002,2003 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * do DNS SRV RR queries
*/
#include "autoconf.h"
diff --git a/src/lib/krb5/os/free_krbhs.c b/src/lib/krb5/os/free_krbhs.c
index ddbbc3b..58a6c43 100644
--- a/src/lib/krb5/os/free_krbhs.c
+++ b/src/lib/krb5/os/free_krbhs.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/free_krbhs.c */
/*
- * lib/krb5/os/free_krbhs.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,17 +22,11 @@
* 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_free_krbhst() function
*/
#include "k5-int.h"
-/*
- Frees the storage taken by a host list returned by krb5_get_krbhst.
-*/
-
+/* Free the storage taken by a host list returned by krb5_get_krbhst. */
krb5_error_code
krb5_free_krbhst(krb5_context context, char *const *hostlist)
{
diff --git a/src/lib/krb5/os/full_ipadr.c b/src/lib/krb5/os/full_ipadr.c
index 213e426..0863cab 100644
--- a/src/lib/krb5/os/full_ipadr.c
+++ b/src/lib/krb5/os/full_ipadr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/full_ipadr.c - Generate full address from IP addr and port */
/*
- * lib/krb5/os/full_ipadr.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/gen_port.c b/src/lib/krb5/os/gen_port.c
index a887408..f51d12f 100644
--- a/src/lib/krb5/os/gen_port.c
+++ b/src/lib/krb5/os/gen_port.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/gen_port.c - Generate full address from IP address and port */
/*
- * lib/krb5/os/gen_port.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/gen_rname.c b/src/lib/krb5/os/gen_rname.c
index 1d87c2b..9dae043 100644
--- a/src/lib/krb5/os/gen_rname.c
+++ b/src/lib/krb5/os/gen_rname.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/gen_rname.c */
/*
- * lib/krb5/os/gen_rname.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * take a port-style address and unique string, and return
+ */
+
+/*
+ * Take a port-style address and unique string, and return
* a replay cache tag string.
*/
diff --git a/src/lib/krb5/os/genaddrs.c b/src/lib/krb5/os/genaddrs.c
index d9028e4..b31c0bc 100644
--- a/src/lib/krb5/os/genaddrs.c
+++ b/src/lib/krb5/os/genaddrs.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/genaddrs.c */
/*
- * lib/krb5/os/genaddrs.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/get_krbhst.c b/src/lib/krb5/os/get_krbhst.c
index fe28778..7db973a 100644
--- a/src/lib/krb5/os/get_krbhst.c
+++ b/src/lib/krb5/os/get_krbhst.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/get_krbhst.c */
/*
- * lib/krb5/os/get_krbhst.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_get_krbhst() function.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/hostaddr.c b/src/lib/krb5/os/hostaddr.c
index 2f4c387..ccab1d0 100644
--- a/src/lib/krb5/os/hostaddr.c
+++ b/src/lib/krb5/os/hostaddr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/hostaddr.c - Return list of krb5 addresses for a hostname */
/*
- * lib/krb5/os/hostaddr.c
- *
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- * This routine returns a list of krb5 addresses given a hostname.
- *
*/
#include "k5-int.h"
@@ -33,7 +29,8 @@
#include "fake-addrinfo.h"
krb5_error_code
-krb5_os_hostaddr(krb5_context context, const char *name, krb5_address ***ret_addrs)
+krb5_os_hostaddr(krb5_context context, const char *name,
+ krb5_address ***ret_addrs)
{
krb5_error_code retval;
krb5_address **addrs;
diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c
index 168c184..33e13e1 100644
--- a/src/lib/krb5/os/hst_realm.c
+++ b/src/lib/krb5/os/hst_realm.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/hst_realm.c */
/*
- * lib/krb5/os/hst_realm.c
- *
- * Copyright 1990,1991,2002,2008,2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2002,2008,2009 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.
@@ -23,8 +22,13 @@
* 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 2008 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
+/*
* krb5_get_host_realm()
* krb5_get_fallback_host_realm()
* krb5int_clean_hostname()
@@ -432,11 +436,6 @@ krb5int_clean_hostname(krb5_context context,
}
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
* Walk through the components of a domain. At each stage determine
* if a KDC can be located for that domain. Return a realm
* corresponding to the upper-cased domain name for which a KDC was
diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c
index 7f2110f..c4eb17f 100644
--- a/src/lib/krb5/os/init_os_ctx.c
+++ b/src/lib/krb5/os/init_os_ctx.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/init_os_ctx.c */
/*
- * lib/krb5/os/init_ctx.c
- *
* Copyright 1994, 2007, 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.
- *
- * krb5_init_contex()
*/
#define NEED_WINDOWS
diff --git a/src/lib/krb5/os/krbfileio.c b/src/lib/krb5/os/krbfileio.c
index 99703aa..6dce8ca 100644
--- a/src/lib/krb5/os/krbfileio.c
+++ b/src/lib/krb5/os/krbfileio.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/krbfileio.c */
/*
- * lib/krb5/os/krbfileio.c
- *
* Copyright (c) Hewlett-Packard Company 1991
* Released to the Massachusetts Institute of Technology for inclusion
* in the Kerberos source code distribution.
diff --git a/src/lib/krb5/os/ktdefname.c b/src/lib/krb5/os/ktdefname.c
index ce28e30..afc344e 100644
--- a/src/lib/krb5/os/ktdefname.c
+++ b/src/lib/krb5/os/ktdefname.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/ktdefname.c - Return default keytab name */
/*
- * lib/krb5/os/ktdefname.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Return default keytab file name.
*/
#define NEED_WINDOWS
diff --git a/src/lib/krb5/os/kuserok.c b/src/lib/krb5/os/kuserok.c
index e1619f3..51471ae 100644
--- a/src/lib/krb5/os/kuserok.c
+++ b/src/lib/krb5/os/kuserok.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/kuserok.c */
/*
- * lib/krb5/os/kuserok.c
- *
* Copyright 1990,1993,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_kuserok()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/localaddr.c b/src/lib/krb5/os/localaddr.c
index 61d01a9..08f628a 100644
--- a/src/lib/krb5/os/localaddr.c
+++ b/src/lib/krb5/os/localaddr.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/localaddr.c */
/*
- * lib/krb5/os/localaddr.c
- *
- * Copyright 1990,1991,2000,2001,2002,2004,2007,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2000,2001,2002,2004,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.
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Return the protocol addresses supported by this host.
* Exports from this file:
* krb5int_foreach_localaddr (does callbacks)
diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c
index b395375..4c5977a 100644
--- a/src/lib/krb5/os/locate_kdc.c
+++ b/src/lib/krb5/os/locate_kdc.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/locate_kdc.c - Get addresses for realm KDCs and other servers */
/*
- * lib/krb5/os/locate_kdc.c
- *
- * Copyright 1990,2000,2001,2002,2003,2004,2006,2008 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,2000,2001,2002,2003,2004,2006,2008 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.
@@ -23,9 +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.
- *
- *
- * Get server hostnames or addresses for KDC.
*/
#include "fake-addrinfo.h"
diff --git a/src/lib/krb5/os/lock_file.c b/src/lib/krb5/os/lock_file.c
index 6565470..224e58f 100644
--- a/src/lib/krb5/os/lock_file.c
+++ b/src/lib/krb5/os/lock_file.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/lock_file.c */
/*
- * lib/krb5/os/lock_file.c
- *
* Copyright 1990, 1998 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * libos: krb5_lock_file routine
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/mk_faddr.c b/src/lib/krb5/os/mk_faddr.c
index 26fb99c..7e125cf 100644
--- a/src/lib/krb5/os/mk_faddr.c
+++ b/src/lib/krb5/os/mk_faddr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/mk_faddr.c - Generate full address from IP addr and port */
/*
- * lib/krb5/os/full_ipadr.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
@@ -39,7 +35,8 @@
#endif
krb5_error_code
-krb5_make_fulladdr(krb5_context context, krb5_address *kaddr, krb5_address *kport, krb5_address *raddr)
+krb5_make_fulladdr(krb5_context context, krb5_address *kaddr,
+ krb5_address *kport, krb5_address *raddr)
{
register krb5_octet * marshal;
krb5_int32 tmp32;
diff --git a/src/lib/krb5/os/net_read.c b/src/lib/krb5/os/net_read.c
index fe84192..7e5e954 100644
--- a/src/lib/krb5/os/net_read.c
+++ b/src/lib/krb5/os/net_read.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/net_read.c */
/*
- * lib/krb5/os/net_read.c
- *
* Copyright 1987, 1988, 1990 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 "k5-int.h"
diff --git a/src/lib/krb5/os/net_write.c b/src/lib/krb5/os/net_write.c
index d4bcc14..9290726 100644
--- a/src/lib/krb5/os/net_write.c
+++ b/src/lib/krb5/os/net_write.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/net_write.c */
/*
- * lib/krb5/os/net_write.c
- *
- * Copyright 1987, 1988, 1990, 2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1987, 1988, 1990, 2009 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.
@@ -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 "k5-int.h"
diff --git a/src/lib/krb5/os/os-proto.h b/src/lib/krb5/os/os-proto.h
index 2fb353e..a86ad87 100644
--- a/src/lib/krb5/os/os-proto.h
+++ b/src/lib/krb5/os/os-proto.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/os-proto.h */
/*
- * lib/krb5/os/os-proto.h
- *
* Copyright 1990,1991,2009 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.
- *
+ */
+
+/*
*
* LIBOS internal function prototypes.
*/
diff --git a/src/lib/krb5/os/osconfig.c b/src/lib/krb5/os/osconfig.c
index d04e95b..93eafed 100644
--- a/src/lib/krb5/os/osconfig.c
+++ b/src/lib/krb5/os/osconfig.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/osconfig.c */
/*
- * lib/krb5/os/osconfig.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Definition of default configuration parameters.
*
* ***** WARNING *****
diff --git a/src/lib/krb5/os/port2ip.c b/src/lib/krb5/os/port2ip.c
index d4184db..905d60f 100644
--- a/src/lib/krb5/os/port2ip.c
+++ b/src/lib/krb5/os/port2ip.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/port2ip.c - Split full address into IP address and port */
/*
- * lib/krb5/os/port2ip.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Take an ADDRPORT address and split into IP addr & port.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/read_msg.c b/src/lib/krb5/os/read_msg.c
index 815f7ad..2da310d 100644
--- a/src/lib/krb5/os/read_msg.c
+++ b/src/lib/krb5/os/read_msg.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/read_msg.c */
/*
- * lib/krb5/os/read_msg.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Write a message to the network
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/read_pwd.c b/src/lib/krb5/os/read_pwd.c
index df93c65..f26896d 100644
--- a/src/lib/krb5/os/read_pwd.c
+++ b/src/lib/krb5/os/read_pwd.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/read_pwd.c */
/*
- * lib/krb5/os/read_pwd.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * libos: krb5_read_password for BSD 4.3
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/realm_dom.c b/src/lib/krb5/os/realm_dom.c
index 8f25caf..08e35d4 100644
--- a/src/lib/krb5/os/realm_dom.c
+++ b/src/lib/krb5/os/realm_dom.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/realm_dom.c */
/*
- * lib/krb5/os/realm_dom.c
- *
* Copyright 1990,1991 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.
- *
- *
- * krb5_get_realm_domain()
*/
-
/*
* Determines the proper domain name for a realm. This is mainly so that
* a krb4 principal can be converted properly into a krb5 principal.
diff --git a/src/lib/krb5/os/realm_iter.c b/src/lib/krb5/os/realm_iter.c
index cfc9e39..2fb1f03 100644
--- a/src/lib/krb5/os/realm_iter.c
+++ b/src/lib/krb5/os/realm_iter.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/realm_iter.c */
/*
- * lib/krb5/os/realm_init.c
- *
* Copyright 1998 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.
- *
- * krb5_realm_iterate()
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c
index 5e059a5..058b6d1 100644
--- a/src/lib/krb5/os/sendto_kdc.c
+++ b/src/lib/krb5/os/sendto_kdc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/sendto_kdc.c */
/*
- * lib/krb5/os/sendto_kdc.c
- *
* Copyright 1990,1991,2001,2002,2004,2005,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,11 @@
* 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.
- *
- *
- * Send packet to KDC for realm; wait for response, retransmitting
- * as necessary.
*/
+/* Send packet to KDC for realm; wait for response, retransmitting
+ * as necessary. */
+
#include "fake-addrinfo.h"
#include "k5-int.h"
diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c
index 9645fef..b5a2d26 100644
--- a/src/lib/krb5/os/sn2princ.c
+++ b/src/lib/krb5/os/sn2princ.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/sn2princ.c */
/*
- * lib/krb5/os/sn2princ.c
- *
* Copyright 1991,2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,11 @@
* 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.
- *
- *
- * Convert a hostname and service name to a principal in the "standard"
- * form.
*/
+/* Convert a hostname and service name to a principal in the "standard"
+ * form. */
+
#include "k5-int.h"
#include "os-proto.h"
#include "fake-addrinfo.h"
diff --git a/src/lib/krb5/os/t_kuserok.c b/src/lib/krb5/os/t_kuserok.c
index a16c4f5..eabbfc7 100644
--- a/src/lib/krb5/os/t_kuserok.c
+++ b/src/lib/krb5/os/t_kuserok.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/t_kuserok.c - Test harness for krb5_kuserok */
/*
- * lib/krb5/os/t_kuserok.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- *
- * Simple test harness for krb5_kuserok.
*/
#include <krb5.h>
diff --git a/src/lib/krb5/os/thread_safe.c b/src/lib/krb5/os/thread_safe.c
index acd88ce..5ac7341 100644
--- a/src/lib/krb5/os/thread_safe.c
+++ b/src/lib/krb5/os/thread_safe.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/thread_safe.c */
/*
- * lib/krb5/os/thread_safec
- *
* Copyright 2005 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * krb5_is_thread_safe() function.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/timeofday.c b/src/lib/krb5/os/timeofday.c
index 7c4534e..b22d92a 100644
--- a/src/lib/krb5/os/timeofday.c
+++ b/src/lib/krb5/os/timeofday.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/timeofday.c */
/*
- * lib/krb5/os/timeofday.c
- *
* Copyright 1990, 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.
- *
- *
- * libos: krb5_timeofday function for BSD 4.3
*/
-
#include "k5-int.h"
#include <time.h>
diff --git a/src/lib/krb5/os/toffset.c b/src/lib/krb5/os/toffset.c
index a9faec5..456193a 100644
--- a/src/lib/krb5/os/toffset.c
+++ b/src/lib/krb5/os/toffset.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/toffset.c - Manipulate time offset fields in os context */
/*
- * lib/krb5/os/toffset.c
- *
* Copyright 1995, 2007 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.
- *
- * These routines manipulates the time offset fields in the os context.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/trace.c b/src/lib/krb5/os/trace.c
index 6624363..83df52e 100644
--- a/src/lib/krb5/os/trace.c
+++ b/src/lib/krb5/os/trace.c
@@ -1,7 +1,6 @@
/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/trace.c - k5trace implementation */
/*
- * lib/krb5/krb/trace.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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.
- *
- * k5trace implementation
*/
-/* k5trace is defined in k5-int.h as a macro or static inline function,
+/*
+ * k5trace is defined in k5-int.h as a macro or static inline function,
* and is called like so:
*
* void k5trace(krb5_context context, const char *fmt, ...)
diff --git a/src/lib/krb5/os/unlck_file.c b/src/lib/krb5/os/unlck_file.c
index 37233a3..7d69fc7 100644
--- a/src/lib/krb5/os/unlck_file.c
+++ b/src/lib/krb5/os/unlck_file.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/unlck_file.c */
/*
- * lib/krb5/os/unlck_file.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * libos: krb5_lock_file routine
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/os/ustime.c b/src/lib/krb5/os/ustime.c
index 34c2fa0..be94a82 100644
--- a/src/lib/krb5/os/ustime.c
+++ b/src/lib/krb5/os/ustime.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/ustime.c */
/*
- * lib/krb5/os/ustime.c
- *
* Copyright 1990,1991,2007 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_crypto_us_timeofday() does all of the real work; however, we
* handle the time offset adjustment here, since this is context
* specific, and the crypto version of this call doesn't have access
diff --git a/src/lib/krb5/os/write_msg.c b/src/lib/krb5/os/write_msg.c
index 6a57b1e..b745f3f 100644
--- a/src/lib/krb5/os/write_msg.c
+++ b/src/lib/krb5/os/write_msg.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/write_msg.c - convenience sendauh/recvauth functions */
/*
- * lib/krb5/os/write_msg.c
- *
* Copyright 1991, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,22 +22,22 @@
* 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.
- *
- *
- * convenience sendauth/recvauth functions
*/
#include "k5-int.h"
#include <errno.h>
#include "os-proto.h"
-/* Try to write a series of messages with as few write(v) system calls
- as possible, to avoid Nagle/DelayedAck problems. Cheating here a
- little -- I know the only cases we have at the moment will send one
- or two messages in a call. Sending more will work, but not as
- efficiently. */
+/*
+ * Try to write a series of messages with as few write(v) system calls
+ * as possible, to avoid Nagle/DelayedAck problems. Cheating here a
+ * little -- I know the only cases we have at the moment will send one
+ * or two messages in a call. Sending more will work, but not as
+ * efficiently.
+ */
krb5_error_code
-krb5int_write_messages(krb5_context context, krb5_pointer fdp, krb5_data *outbuf, int nbufs)
+krb5int_write_messages(krb5_context context, krb5_pointer fdp,
+ krb5_data *outbuf, int nbufs)
{
int fd = *( (int *) fdp);
diff --git a/src/lib/krb5/rcache/rc-int.h b/src/lib/krb5/rcache/rc-int.h
index 5ed39e6..72a9483 100644
--- a/src/lib/krb5/rcache/rc-int.h
+++ b/src/lib/krb5/rcache/rc-int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc-int.h */
/*
- * lib/krb5/keytab/rc-int.h
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,12 +22,11 @@
* 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.
- *
- *
- * This file contains constant and function declarations used in the
- * file-based replay cache routines.
*/
+/* This file contains constant and function declarations used in the
+ * file-based replay cache routines. */
+
#ifndef __KRB5_RCACHE_INT_H__
#define __KRB5_RCACHE_INT_H__
diff --git a/src/lib/krb5/rcache/rc_base.c b/src/lib/krb5/rcache/rc_base.c
index 7a5a09a..5097271 100644
--- a/src/lib/krb5/rcache/rc_base.c
+++ b/src/lib/krb5/rcache/rc_base.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_base.c */
/*
- * lib/krb5/rcache/rc_base.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_base.h b/src/lib/krb5/rcache/rc_base.h
index 1e0f83a..0530b90 100644
--- a/src/lib/krb5/rcache/rc_base.h
+++ b/src/lib/krb5/rcache/rc_base.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_base.h */
/*
- * lib/krb5/rcache/rc_base.h
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_conv.c b/src/lib/krb5/rcache/rc_conv.c
index aa4b56a..d8a064d 100644
--- a/src/lib/krb5/rcache/rc_conv.c
+++ b/src/lib/krb5/rcache/rc_conv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_conv.c */
/*
- * lib/krb5/rcache/rc_conv.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_dfl.c b/src/lib/krb5/rcache/rc_dfl.c
index f19f1cb..cc42f46 100644
--- a/src/lib/krb5/rcache/rc_dfl.c
+++ b/src/lib/krb5/rcache/rc_dfl.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_dfl.c */
/*
- * lib/krb5/rcache/rc_dfl.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_dfl.h b/src/lib/krb5/rcache/rc_dfl.h
index 3bc8bd8..ad036a2 100644
--- a/src/lib/krb5/rcache/rc_dfl.h
+++ b/src/lib/krb5/rcache/rc_dfl.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_dfl.h */
/*
- * lib/krb5/rcache/rc_dfl.h
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_io.c b/src/lib/krb5/rcache/rc_io.c
index 872b5fd..7df5848 100644
--- a/src/lib/krb5/rcache/rc_io.c
+++ b/src/lib/krb5/rcache/rc_io.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_io.c */
/*
- * lib/krb5/rcache/rc_io.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_io.h b/src/lib/krb5/rcache/rc_io.h
index e774ef9..f5ab239 100644
--- a/src/lib/krb5/rcache/rc_io.h
+++ b/src/lib/krb5/rcache/rc_io.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_io.h */
/*
- * lib/krb5/rcache/rc_io.h
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
diff --git a/src/lib/krb5/rcache/rc_none.c b/src/lib/krb5/rcache/rc_none.c
index 77ca837..e30aed0 100644
--- a/src/lib/krb5/rcache/rc_none.c
+++ b/src/lib/krb5/rcache/rc_none.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_none.c */
/*
- * lib/krb5/rcache/rc_none.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.
- *
+ */
+
+/*
*
* replay cache no-op implementation
*/
diff --git a/src/lib/krb5/rcache/rcdef.c b/src/lib/krb5/rcache/rcdef.c
index c4657b3..01d166b 100644
--- a/src/lib/krb5/rcache/rcdef.c
+++ b/src/lib/krb5/rcache/rcdef.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rcdef.c - Default replay cache operations vector */
/*
- * lib/krb5/rcache/rcdef.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * replay cache default operations vector.
*/
#include "k5-int.h"
diff --git a/src/lib/krb5/rcache/rcfns.c b/src/lib/krb5/rcache/rcfns.c
index 52dec49..b12864a 100644
--- a/src/lib/krb5/rcache/rcfns.c
+++ b/src/lib/krb5/rcache/rcfns.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rcfns.c */
/*
- * lib/krb5/rcache/rcfns.c
- *
* Copyright 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/lib/krb5/rcache/ser_rc.c b/src/lib/krb5/rcache/ser_rc.c
index 04f6066..49750bd 100644
--- a/src/lib/krb5/rcache/ser_rc.c
+++ b/src/lib/krb5/rcache/ser_rc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/ser_rc.c - Serialize replay cache context */
/*
- * lib/krb5/rcache/ser_rc.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.
- *
*/
-/*
- * ser_rcdfl.c - Serialize replay cache context.
- */
#include "k5-int.h"
#include "rc-int.h"
diff --git a/src/lib/krb5/rcache/t_replay.c b/src/lib/krb5/rcache/t_replay.c
index c38a4a6..0e108bf 100644
--- a/src/lib/krb5/rcache/t_replay.c
+++ b/src/lib/krb5/rcache/t_replay.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/t_replay.c - Test harness for replay cache */
/*
- * test/threads/t_replay.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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.
- *
- * t_replay.c: Command-line interfaces to aid testing of replay cache
- *
*/
#include <stdio.h>
diff --git a/src/lib/krb5/unicode/ucdata/ucdata.c b/src/lib/krb5/unicode/ucdata/ucdata.c
index 1e46744..17473ad 100644
--- a/src/lib/krb5/unicode/ucdata/ucdata.c
+++ b/src/lib/krb5/unicode/ucdata/ucdata.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.c,v 1.36 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -32,7 +30,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucdata.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.c,v 1.36 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucdata.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $"
+ */
#include "k5-int.h"
#include "k5-utf8.h"
diff --git a/src/lib/krb5/unicode/ucdata/ucdata.h b/src/lib/krb5/unicode/ucdata/ucdata.h
index 00ece35..3d37c93 100644
--- a/src/lib/krb5/unicode/ucdata/ucdata.h
+++ b/src/lib/krb5/unicode/ucdata/ucdata.h
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.h,v 1.21 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -32,7 +30,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucdata.h,v 1.6 2001/01/02 18:46:20 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.h,v 1.21 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucdata.h,v 1.6 2001/01/02 18:46:20 mleisher Exp $
+ */
#ifndef _h_ucdata
#define _h_ucdata
diff --git a/src/lib/krb5/unicode/ucdata/ucgendat.c b/src/lib/krb5/unicode/ucdata/ucgendat.c
index a6d38fb..74ed514 100644
--- a/src/lib/krb5/unicode/ucdata/ucgendat.c
+++ b/src/lib/krb5/unicode/ucdata/ucgendat.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucgendat.c,v 1.43 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -32,7 +30,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucgendat.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucgendat.c,v 1.43 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucgendat.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $"
+ */
#include "k5-int.h"
#include "k5-utf8.h"
diff --git a/src/lib/krb5/unicode/ucdata/ucpgba.c b/src/lib/krb5/unicode/ucdata/ucpgba.c
index 6161611..a5b258c 100644
--- a/src/lib/krb5/unicode/ucdata/ucpgba.c
+++ b/src/lib/krb5/unicode/ucdata/ucpgba.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.c,v 1.9 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -32,7 +30,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucpgba.c,v 1.5 2001/01/02 18:46:20 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.c,v 1.9 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucpgba.c,v 1.5 2001/01/02 18:46:20 mleisher Exp $
+ */
#include "k5-int.h"
#include "k5-utf8.h"
diff --git a/src/lib/krb5/unicode/ucdata/ucpgba.h b/src/lib/krb5/unicode/ucdata/ucpgba.h
index 0761e1d..ebd40d3 100644
--- a/src/lib/krb5/unicode/ucdata/ucpgba.h
+++ b/src/lib/krb5/unicode/ucdata/ucpgba.h
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.h,v 1.10 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -32,7 +30,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucpgba.h,v 1.4 1999/11/19 15:24:30 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.h,v 1.10 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucpgba.h,v 1.4 1999/11/19 15:24:30 mleisher Exp $
+ */
#ifndef _h_ucpgba
#define _h_ucpgba
diff --git a/src/lib/krb5/unicode/ucstr.c b/src/lib/krb5/unicode/ucstr.c
index b77dfb8..e75797b 100644
--- a/src/lib/krb5/unicode/ucstr.c
+++ b/src/lib/krb5/unicode/ucstr.c
@@ -1,10 +1,4 @@
/*
- * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucstr.c,v 1.40 2008/03/04
- * 06:24:05 hyc Exp $
- */
-/*
- * This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
* Copyright 1998-2008 The OpenLDAP Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -16,6 +10,11 @@
* <http://www.OpenLDAP.org/license.html>.
*/
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucstr.c,v 1.40 2008/03/04 06:24:05 hyc Exp $
+ */
+
#include "k5-int.h"
#include "k5-utf8.h"
#include "k5-unicode.h"
diff --git a/src/lib/krb5/unicode/ure/ure.c b/src/lib/krb5/unicode/ure/ure.c
index 4fd1166..91ef7c9 100644
--- a/src/lib/krb5/unicode/ure/ure.c
+++ b/src/lib/krb5/unicode/ure/ure.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.c,v 1.19 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -33,7 +31,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ure.c,v 1.2 1999/09/21 15:47:43 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.c,v 1.19 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ure.c,v 1.2 1999/09/21 15:47:43 mleisher Exp $"
+ */
#include <k5-int.h>
diff --git a/src/lib/krb5/unicode/ure/ure.h b/src/lib/krb5/unicode/ure/ure.h
index e5b3387..b83c97e 100644
--- a/src/lib/krb5/unicode/ure/ure.h
+++ b/src/lib/krb5/unicode/ure/ure.h
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.h,v 1.15 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -33,7 +31,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ure.h,v 1.2 1999/09/21 15:47:44 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.h,v 1.15 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ure.h,v 1.2 1999/09/21 15:47:44 mleisher Exp $
+ */
#ifndef _h_ure
#define _h_ure
diff --git a/src/lib/krb5/unicode/ure/urestubs.c b/src/lib/krb5/unicode/ure/urestubs.c
index 470d05c..52cde5a 100644
--- a/src/lib/krb5/unicode/ure/urestubs.c
+++ b/src/lib/krb5/unicode/ure/urestubs.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/urestubs.c,v 1.16 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -34,7 +32,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: urestubs.c,v 1.2 1999/09/21 15:47:44 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/urestubs.c,v 1.16 2008/01/07 23:20:05 kurt Exp $
+ * $Id: urestubs.c,v 1.2 1999/09/21 15:47:44 mleisher Exp $"
+ */
#include "k5-int.h"
diff --git a/src/lib/krb5/unicode/utbm/utbm.c b/src/lib/krb5/unicode/utbm/utbm.c
index ffc84af..ec862d7 100644
--- a/src/lib/krb5/unicode/utbm/utbm.c
+++ b/src/lib/krb5/unicode/utbm/utbm.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.c,v 1.9 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -33,7 +31,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: utbm.c,v 1.1 1999/09/21 15:45:17 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.c,v 1.9 2008/01/07 23:20:05 kurt Exp $
+ * $Id: utbm.c,v 1.1 1999/09/21 15:45:17 mleisher Exp $
+ */
/*
* Assumptions:
diff --git a/src/lib/krb5/unicode/utbm/utbm.h b/src/lib/krb5/unicode/utbm/utbm.h
index 26adee9..2c90a01 100644
--- a/src/lib/krb5/unicode/utbm/utbm.h
+++ b/src/lib/krb5/unicode/utbm/utbm.h
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.h,v 1.10 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -33,7 +31,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: utbm.h,v 1.1 1999/09/21 15:45:18 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.h,v 1.10 2008/01/07 23:20:05 kurt Exp $
+ * $Id: utbm.h,v 1.1 1999/09/21 15:45:18 mleisher Exp $
+ */
#ifndef _h_utbm
#define _h_utbm
diff --git a/src/lib/krb5/unicode/utbm/utbmstub.c b/src/lib/krb5/unicode/utbm/utbmstub.c
index 51fa673..059401d 100644
--- a/src/lib/krb5/unicode/utbm/utbmstub.c
+++ b/src/lib/krb5/unicode/utbm/utbmstub.c
@@ -1,6 +1,4 @@
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbmstub.c,v 1.8 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -33,7 +31,12 @@
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbmstub.c,v 1.8 2008/01/07 23:20:05 kurt Exp $
+ * $Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $
+ */
#include "utbm.h"
diff --git a/src/lib/rpc/auth_gss.c b/src/lib/rpc/auth_gss.c
index 1d6837e..6e61179 100644
--- a/src/lib/rpc/auth_gss.c
+++ b/src/lib/rpc/auth_gss.c
@@ -1,8 +1,5 @@
+/* lib/rpc/auth_gss.c */
/*
- auth_gss.c
-
- RPCSEC_GSS client routines.
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
@@ -37,6 +34,8 @@
Id: auth_gss.c,v 1.35 2002/10/15 21:25:25 kwc Exp
*/
+/* RPCSEC_GSS client routines. */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/lib/rpc/authgss_prot.c b/src/lib/rpc/authgss_prot.c
index 31a8dda..01f16ea 100644
--- a/src/lib/rpc/authgss_prot.c
+++ b/src/lib/rpc/authgss_prot.c
@@ -1,6 +1,5 @@
+/* lib/rpc/authgss_prot.c */
/*
- authgss_prot.c
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
diff --git a/src/lib/rpc/bindresvport.c b/src/lib/rpc/bindresvport.c
index 3de6756..6755f4d 100644
--- a/src/lib/rpc/bindresvport.c
+++ b/src/lib/rpc/bindresvport.c
@@ -1,6 +1,4 @@
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC 1.8 88/02/08 SMI";
-#endif
+/* lib/rpc/bindresvport.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
diff --git a/src/lib/rpc/getrpcent.c b/src/lib/rpc/getrpcent.c
index bd71d9c..604fa85 100644
--- a/src/lib/rpc/getrpcent.c
+++ b/src/lib/rpc/getrpcent.c
@@ -1,8 +1,4 @@
-/* @(#)getrpcent.c 2.2 88/07/29 4.0 RPCSRC */
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)getrpcent.c 1.9 87/08/11 Copyr 1984 Sun Micro";
-#endif
-
+/* lib/rpc/getrpcent.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
diff --git a/src/lib/rpc/getrpcport.c b/src/lib/rpc/getrpcport.c
index 45f64e0..8247bb3 100644
--- a/src/lib/rpc/getrpcport.c
+++ b/src/lib/rpc/getrpcport.c
@@ -1,7 +1,4 @@
-/* @(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC */
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
-#endif
+/* lib/rpc/getrpcport.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
diff --git a/src/lib/rpc/gssrpcint.h b/src/lib/rpc/gssrpcint.h
index 8110596..1d1bd7e 100644
--- a/src/lib/rpc/gssrpcint.h
+++ b/src/lib/rpc/gssrpcint.h
@@ -1,6 +1,5 @@
+/* lib/rpc/gssrpcint.h */
/*
- * lib/rpc/gssrpcint.h
- *
* Copyright (C) 2008 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.
- *
- *
- * <<< Description >>>
*/
#ifndef __GSSRPCINT_H__
diff --git a/src/lib/rpc/svc_auth.c b/src/lib/rpc/svc_auth.c
index 702bdf9..5fedef7 100644
--- a/src/lib/rpc/svc_auth.c
+++ b/src/lib/rpc/svc_auth.c
@@ -1,6 +1,4 @@
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)svc_auth.c 2.1 88/08/07 4.0 RPCSRC; from 1.19 87/08/11 Copyr 1984 Sun Micro";
-#endif
+/* lib/rpc/svc_auth.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
diff --git a/src/lib/rpc/svc_auth_gss.c b/src/lib/rpc/svc_auth_gss.c
index cac5702..c3d52dc 100644
--- a/src/lib/rpc/svc_auth_gss.c
+++ b/src/lib/rpc/svc_auth_gss.c
@@ -1,6 +1,5 @@
+/* lib/rpc/svc_auth_gss.c */
/*
- svc_auth_gss.c
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
diff --git a/src/lib/rpc/svc_auth_none.c b/src/lib/rpc/svc_auth_none.c
index ab9942e..cba230d 100644
--- a/src/lib/rpc/svc_auth_none.c
+++ b/src/lib/rpc/svc_auth_none.c
@@ -1,6 +1,5 @@
+/* lib/rpc/svc_auth_none.c */
/*
- svc_auth_none.c
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
diff --git a/src/lib/rpc/svc_run.c b/src/lib/rpc/svc_run.c
index 9e4acd8..32b8517 100644
--- a/src/lib/rpc/svc_run.c
+++ b/src/lib/rpc/svc_run.c
@@ -1,8 +1,4 @@
-/* @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC */
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";
-#endif
-
+/* lib/rpc/svc_run.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
diff --git a/src/lib/rpc/xdr_alloc.c b/src/lib/rpc/xdr_alloc.c
index 6d5e4c8..8c58cff 100644
--- a/src/lib/rpc/xdr_alloc.c
+++ b/src/lib/rpc/xdr_alloc.c
@@ -1,4 +1,4 @@
-/* @(#)xdr_mem.c 2.1 88/07/29 4.0 RPCSRC */
+/* lib/rpc/xdr_alloc.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
@@ -31,13 +31,8 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)xdr_mem.c 1.19 87/08/11 Copyr 1984 Sun Micro";
-#endif
-
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
- *
*/
#include <gssrpc/types.h>
diff --git a/src/patchlevel.h b/src/patchlevel.h
index a7ed69b..1a72f08 100644
--- a/src/patchlevel.h
+++ b/src/patchlevel.h
@@ -1,6 +1,5 @@
+/* patchlevel.h */
/*
- * patchlevel.h
- *
* Copyright (C) 2004-2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*
diff --git a/src/plugins/authdata/greet/greet_auth.c b/src/plugins/authdata/greet/greet_auth.c
index 1c88b2c..beac135 100644
--- a/src/plugins/authdata/greet/greet_auth.c
+++ b/src/plugins/authdata/greet/greet_auth.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/authdata/greet/greet_auth.c */
/*
- * plugins/authdata/greet/
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,7 +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.
- *
+ */
+
+/*
*
* Sample authorization data plugin
*/
diff --git a/src/plugins/authdata/greet_client/greet.c b/src/plugins/authdata/greet_client/greet.c
index 8a49471..c3bbfb1 100644
--- a/src/plugins/authdata/greet_client/greet.c
+++ b/src/plugins/authdata/greet_client/greet.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/authdata/greet_client/greet.c - Sample authorization data plugin */
/*
- * plugins/authdata/greet_client/
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -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.
- *
- *
- * Sample authorization data plugin
*/
#include <string.h>
diff --git a/src/plugins/authdata/greet_server/greet_auth.c b/src/plugins/authdata/greet_server/greet_auth.c
index 578a4ab..5dbd8c1 100644
--- a/src/plugins/authdata/greet_server/greet_auth.c
+++ b/src/plugins/authdata/greet_server/greet_auth.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/authdata/greet_server/greet_auth.c */
/*
- * plugins/authdata/greet_server/
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
@@ -22,7 +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.
- *
+ */
+
+/*
*
* Sample authorization data plugin
*/
diff --git a/src/plugins/kadm5_hook/test/main.c b/src/plugins/kadm5_hook/test/main.c
index 46efeee..48b549c 100644
--- a/src/plugins/kadm5_hook/test/main.c
+++ b/src/plugins/kadm5_hook/test/main.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kadm5_hook/test/main.c */
/*
- * plugins/kadm5_hook/test/main.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.
- *
*/
-
/**
* @file plugins/kadm5_hook/test/main.c
*
diff --git a/src/plugins/kdb/db2/kdb_db2.c b/src/plugins/kdb/db2/kdb_db2.c
index d7baca9..0f2d7ce 100644
--- a/src/plugins/kdb/db2/kdb_db2.c
+++ b/src/plugins/kdb/db2/kdb_db2.c
@@ -1,5 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/kdb/kdb_db2.c */
+/* plugins/kdb/db2/kdb_db2.c */
/*
* Copyright 1997,2006,2007-2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
diff --git a/src/plugins/kdb/db2/kdb_db2.h b/src/plugins/kdb/db2/kdb_db2.h
index efab922..30a53f7 100644
--- a/src/plugins/kdb/db2/kdb_db2.h
+++ b/src/plugins/kdb/db2/kdb_db2.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/db2/kdb_db2.h */
/*
- * lib/kdb/kdb_db2.h
- *
* Copyright 1997 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.
- *
+ */
+
+/*
*
* KDC Database backend definitions for Berkely DB.
*/
diff --git a/src/plugins/kdb/db2/kdb_xdr.c b/src/plugins/kdb/db2/kdb_xdr.c
index 14b63fa..184615c 100644
--- a/src/plugins/kdb/db2/kdb_xdr.c
+++ b/src/plugins/kdb/db2/kdb_xdr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/db2/kdb_xdr.c */
/*
- * lib/kdb/kdb_xdr.c
- *
* Copyright 1995 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 "k5-int.h"
diff --git a/src/plugins/kdb/db2/lockout.c b/src/plugins/kdb/db2/lockout.c
index b473611..da5e761 100644
--- a/src/plugins/kdb/db2/lockout.c
+++ b/src/plugins/kdb/db2/lockout.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/db2/lockout.c */
/*
- * plugins/kdb/db2/lockout.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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 "k5-int.h"
diff --git a/src/plugins/kdb/hdb/kdb_hdb.c b/src/plugins/kdb/hdb/kdb_hdb.c
index 460636a..31c67eb 100644
--- a/src/plugins/kdb/hdb/kdb_hdb.c
+++ b/src/plugins/kdb/hdb/kdb_hdb.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_hdb.c */
/*
- * plugins/kdb/hdb/kdb_hdb.c
- *
* Copyright 2009 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 "k5-int.h"
diff --git a/src/plugins/kdb/hdb/kdb_hdb.h b/src/plugins/kdb/hdb/kdb_hdb.h
index 161b68a..38f5001 100644
--- a/src/plugins/kdb/hdb/kdb_hdb.h
+++ b/src/plugins/kdb/hdb/kdb_hdb.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_hdb.h */
/*
- * plugins/kdb/hdb/kdb_hdb.c
- *
* Copyright 2009 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.
- *
*/
#ifndef KRB5_KDB_HDB_H
diff --git a/src/plugins/kdb/hdb/kdb_marshal.c b/src/plugins/kdb/hdb/kdb_marshal.c
index ca58835..3b2878a 100644
--- a/src/plugins/kdb/hdb/kdb_marshal.c
+++ b/src/plugins/kdb/hdb/kdb_marshal.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_marshal.c */
/*
- * plugins/kdb/hdb/kdb_marshal.c
- *
* Copyright 2009 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 "k5-int.h"
diff --git a/src/plugins/kdb/hdb/kdb_windc.c b/src/plugins/kdb/hdb/kdb_windc.c
index fdd4efc..baafd8d 100644
--- a/src/plugins/kdb/hdb/kdb_windc.c
+++ b/src/plugins/kdb/hdb/kdb_windc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_windc.c */
/*
- * plugins/kdb/hdb/kdb_windc.c
- *
* Copyright 2009 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 "k5-int.h"
diff --git a/src/plugins/kdb/ldap/ldap_exp.c b/src/plugins/kdb/ldap/ldap_exp.c
index 18c1fce..f71a379 100644
--- a/src/plugins/kdb/ldap/ldap_exp.c
+++ b/src/plugins/kdb/ldap/ldap_exp.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/ldap_exp.c */
/*
- * lib/kdb/kdb_ldap/ldap_exp.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
index f8dce07..38e470f 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_list.c
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h
index ff6bde2..a729318 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_list.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
index 4cb3c46..9a532a6 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_policy.c
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h
index a176a9f..0d3948d 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_policy.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
index fc36008..05a6c71 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c */
/*
- * kadmin/ldap_util/kdb5_ldap_realm.c
- *
* Copyright 1990,1991,2001, 2002, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h
index a822521..aa086fe 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_realm.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
index fb384d3..b53be48 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_services.c
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h
index a2816d8..d325bb7 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_services.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
index db5e69b..ec261d2 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c */
/*
- * kadmin/ldap_util/kdb5_ldap_util.c
- *
* (C) Copyright 1990,1991, 1996, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +22,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.
- *
- *
- * Edit a KDC database.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -53,7 +48,6 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h
index 572236b..b28bdd2 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h
@@ -1,8 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_util.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
index 5e05511..7b6bf22 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c */
/*
- * lib/kdb/kdb_ldap/kdb_ldap.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
index a356907..27eb3cb 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h */
/*
- * lib/kdb/kdb_ldap/kdb_ldap.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
index 84e80ee..cb23c22 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c */
/*
- * lib/kdb/kdb_ldap/kdb_ldap_conn.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c b/src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c
index 6085efb..dc1c4df 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c */
/*
- * lib/kdb/kdb_ldap/kdb_xdr.c
- *
* Copyright 1995 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 <k5-int.h>
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c
index 3027316..2d7ed17 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_create.c */
/*
- * lib/kdb/kdb_ldap/ldap_create.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.c
index 9035949..2261e63 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_handle.c */
/*
- * lib/kdb/kdb_ldap/ldap_handle.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.h
index 4f289c8..73ea3d8 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_handle.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_handle.h */
/*
- * lib/kdb/kdb_ldap/ldap_handle.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c
index 0b5f099..f8b825c 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c */
/*
- * lib/kdb/kdb_ldap/ldap_krbcontainer.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h
index 3b89aea..f1feb22 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h */
/*
- * lib/kdb/kdb_ldap/ldap_krbcontainer.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h
index 878c6f3..722dd86 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_main.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_main.h */
/*
- * lib/kdb/kdb_ldap/ldap_main.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
index 0f49c86..81fe3be 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_misc.c */
/*
- * lib/kdb/kdb_ldap/ldap_misc.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.h
index a1d7edc..7166cc6 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_misc.h */
/*
- * lib/kdb/kdb_ldap/ldap_misc.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
index 0805019..1b4c5d5 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_principal.c */
/*
- * lib/kdb/kdb_ldap/ldap_principal.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h
index 7a7a806..d3392c0 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_principal.h */
/*
- * lib/kdb/kdb_ldap/ldap_principal.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
index 552e39a..cbff516 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c */
/*
- * lib/kdb/kdb_ldap/ldap_principal2.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
index ad60b00..d994b43 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c */
/*
- * lib/kdb/kdb_ldap/ldap_pwd_policy.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h
index 1011195..39e46cc 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h */
/*
- * lib/kdb/kdb_ldap/ldap_pwd_policy.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
index 11ca9cd..145af10 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_realm.c */
/*
- * lib/kdb/kdb_ldap/ldap_realm.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h
index ffb0e9c..b0bc579 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_realm.h */
/*
- * lib/kdb/kdb_ldap/ldap_realm.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c
index ce697a4..4bbaa56 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c */
/*
- * lib/kdb/kdb_ldap/ldap_service_rights.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
index f14858b..fa28b97 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c */
/*
- * lib/kdb/kdb_ldap/ldap_service_stash.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h
index aecaa49..167624c 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h */
/*
- * lib/kdb/kdb_ldap/ldap_service_stash.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.c
index 9be9772..2e9fc31 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_services.c */
/*
- * lib/kdb/kdb_ldap/ldap_services.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.h
index 5c9f524..ea40af2 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_services.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_services.h */
/*
- * lib/kdb/kdb_ldap/ldap_services.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
index e8f1c57..40483f6 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c */
/*
- * lib/kdb/kdb_ldap/ldap_tkt_policy.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h b/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h
index fceb832..712adae 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h */
/*
- * lib/kdb/kdb_ldap/ldap_tkt_policy.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/lockout.c b/src/plugins/kdb/ldap/libkdb_ldap/lockout.c
index a218dc7..225f687 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/lockout.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/lockout.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/lockout.c */
/*
- * plugins/kdb/ldap/lockout.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,9 +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 <stdio.h>
diff --git a/src/plugins/locate/python/py-locate.c b/src/plugins/locate/python/py-locate.c
index ca6dcba..23b407c 100644
--- a/src/plugins/locate/python/py-locate.c
+++ b/src/plugins/locate/python/py-locate.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/locate/python/py-locate.c */
/*
- * plugins/locate/python/py-locate.c
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c b/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c
index 27d9ae5..833385c 100644
--- a/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c
+++ b/src/plugins/preauth/encrypted_challenge/encrypted_challenge_main.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/encrypted_challenge/encrypted_challenge_main.c */
/*
- * plugins/preauth/encrypted_challenge/encrypted_challenge.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* Implement Encrypted Challenge fast factor from
* draft-ietf-krb-wg-preauth-framework
*/
diff --git a/src/plugins/preauth/pkinit/pkcs11.h b/src/plugins/preauth/pkinit/pkcs11.h
index 7d18f23..90e993f 100644
--- a/src/plugins/preauth/pkinit/pkcs11.h
+++ b/src/plugins/preauth/pkinit/pkcs11.h
@@ -1,4 +1,4 @@
-/* pkcs11.h
+/*
Copyright 2006 g10 Code GmbH
Copyright 2006 Andreas Jellinghaus
diff --git a/src/plugins/preauth/securid_sam2/extern.h b/src/plugins/preauth/securid_sam2/extern.h
index 791eddf..5a76b7e 100644
--- a/src/plugins/preauth/securid_sam2/extern.h
+++ b/src/plugins/preauth/securid_sam2/extern.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/securid_sam2/extern.h */
/*
- * plugins/preauth/securid_sam2/extern.h
- *
* Copyright (C) 2010 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.
- *
+ */
+
+/*
*
* Declarations for SecurID SAM2 plugin.
*/
diff --git a/src/plugins/preauth/securid_sam2/securid2.c b/src/plugins/preauth/securid_sam2/securid2.c
index 64060a2..be6a32b 100644
--- a/src/plugins/preauth/securid_sam2/securid2.c
+++ b/src/plugins/preauth/securid_sam2/securid2.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/securid_sam2/securid2.c */
/*
- * plugins/preauth/securid_sam2/securid2.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -24,9 +23,8 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-
/*
- * Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
+ * Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
@@ -36,8 +34,8 @@
* NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
* DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
* RESULTING FROM THE USE OF THIS SOFTWARE.
- *
*/
+
#include "k5-int.h"
#include <kdb.h>
#include <stdio.h>
diff --git a/src/plugins/preauth/securid_sam2/securid_sam2_main.c b/src/plugins/preauth/securid_sam2/securid_sam2_main.c
index 612d7c4..49b497e 100644
--- a/src/plugins/preauth/securid_sam2/securid_sam2_main.c
+++ b/src/plugins/preauth/securid_sam2/securid_sam2_main.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/securid_sam2/securid_sam2_main.c */
/*
- * plugins/preauth/securid_sam2/securid_sam2_main.c
- *
* Copyright (C) 2009, 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,7 +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.
- *
+ */
+/*
* Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
*
* Permission to use, copy, modify and distribute this software and its
@@ -34,7 +34,6 @@
* NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
* DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
* RESULTING FROM THE USE OF THIS SOFTWARE.
- *
*/
#include <k5-int.h>
diff --git a/src/slave/kprop.c b/src/slave/kprop.c
index 0cb8b3b..f14f67b 100644
--- a/src/slave/kprop.c
+++ b/src/slave/kprop.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kprop.c */
/*
- * slave/kprop.c
- *
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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 <errno.h>
#include <stdio.h>
#include <ctype.h>
diff --git a/src/slave/kprop.h b/src/slave/kprop.h
index 573014b..a4aa39a 100644
--- a/src/slave/kprop.h
+++ b/src/slave/kprop.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kprop.h */
/*
- * slave/kprop.h
- *
* Copyright 1990,1991 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.
- *
- *
*/
#define KPROP_SERVICE_NAME "host"
diff --git a/src/slave/kprop_sock.c b/src/slave/kprop_sock.c
index 480f1ef..abd53af 100644
--- a/src/slave/kprop_sock.c
+++ b/src/slave/kprop_sock.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kprop_sock.c */
/*
- * slave/kprop_sock.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,11 +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.
- *
- *
- * sockaddr2krbaddr() utility function used by kprop and kpropd.
*/
+/* sockaddr2krbaddr() utility function used by kprop and kpropd */
+
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c
index 91c11e9..896e8f6 100644
--- a/src/slave/kpropd.c
+++ b/src/slave/kpropd.c
@@ -1,4 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kpropd.c */
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
@@ -26,8 +27,6 @@
*/
/*
- * slave/kpropd.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/slave/kpropd_rpc.c b/src/slave/kpropd_rpc.c
index 5abbc4f..4877e37 100644
--- a/src/slave/kpropd_rpc.c
+++ b/src/slave/kpropd_rpc.c
@@ -1,5 +1,10 @@
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
/*
+ * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
+/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
diff --git a/src/tests/asn.1/debug.h b/src/tests/asn.1/debug.h
index c538c36..1202016 100644
--- a/src/tests/asn.1/debug.h
+++ b/src/tests/asn.1/debug.h
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/debug.h */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 __DEBUG_H__
#define __DEBUG_H__
diff --git a/src/tests/asn.1/krb5_decode_leak.c b/src/tests/asn.1/krb5_decode_leak.c
index ac7f5bf..a9cd55d 100644
--- a/src/tests/asn.1/krb5_decode_leak.c
+++ b/src/tests/asn.1/krb5_decode_leak.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/krb5_decode_leak.c */
+/*
+ * Copyright (C) 2009 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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.
+ */
+
/*
* This program is intended to help detect memory leaks in the ASN.1
* decoder functions by exercising their failure paths. The setup
diff --git a/src/tests/asn.1/krb5_decode_test.c b/src/tests/asn.1/krb5_decode_test.c
index b3480a6..32de38e 100644
--- a/src/tests/asn.1/krb5_decode_test.c
+++ b/src/tests/asn.1/krb5_decode_test.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/krb5_decode_test.c */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 "ktest.h"
#include "com_err.h"
diff --git a/src/tests/asn.1/krb5_encode_test.c b/src/tests/asn.1/krb5_encode_test.c
index 784d203..ef50583 100644
--- a/src/tests/asn.1/krb5_encode_test.c
+++ b/src/tests/asn.1/krb5_encode_test.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/krb5_encode_test.c */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 <stdio.h>
#include "k5-int.h"
#include "com_err.h"
diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c
index 0746d81..90a7c1c 100644
--- a/src/tests/asn.1/ktest.c
+++ b/src/tests/asn.1/ktest.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/ktest.c */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 "ktest.h"
#include "utility.h"
#include <stdlib.h>
diff --git a/src/tests/asn.1/ktest.h b/src/tests/asn.1/ktest.h
index c4059a7..99f44c6 100644
--- a/src/tests/asn.1/ktest.h
+++ b/src/tests/asn.1/ktest.h
@@ -1,3 +1,28 @@
+/* tests/asn.1/ktest.h */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 __KTEST_H__
#define __KTEST_H__
diff --git a/src/tests/asn.1/ktest_equal.c b/src/tests/asn.1/ktest_equal.c
index 0a92804..a1a95d4 100644
--- a/src/tests/asn.1/ktest_equal.c
+++ b/src/tests/asn.1/ktest_equal.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/ktest_equal.c */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 <stdlib.h>
#include <stdio.h>
#include "ktest_equal.h"
diff --git a/src/tests/asn.1/ktest_equal.h b/src/tests/asn.1/ktest_equal.h
index 4b55e23..8d4a6e8 100644
--- a/src/tests/asn.1/ktest_equal.h
+++ b/src/tests/asn.1/ktest_equal.h
@@ -1,3 +1,28 @@
+/* tests/asn.1/ktest_equal.h */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 __KTEST_EQUAL_H__
#define __KTEST_EQUAL_H__
diff --git a/src/tests/asn.1/t_trval.c b/src/tests/asn.1/t_trval.c
index 204f60f..57d8253 100644
--- a/src/tests/asn.1/t_trval.c
+++ b/src/tests/asn.1/t_trval.c
@@ -29,7 +29,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.
- *
*/
/* Split out from "#ifdef STANDALONE" code previously in trval.c, so
diff --git a/src/tests/asn.1/trval.c b/src/tests/asn.1/trval.c
index b61bc3c..780d60c 100644
--- a/src/tests/asn.1/trval.c
+++ b/src/tests/asn.1/trval.c
@@ -8,7 +8,8 @@
* Trusted Information Systems makes no representation about the
* suitability of this software for any purpose. It is provided
* "as is" without express or implied warranty.
- *
+ */
+/*
* Copyright (C) 1994 Massachusetts Institute of Technology
*
* Export of this software from the United States of America may
@@ -29,7 +30,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.
- *
*/
/*****************************************************************************
diff --git a/src/tests/asn.1/utility.c b/src/tests/asn.1/utility.c
index b3d3639..8f852d8 100644
--- a/src/tests/asn.1/utility.c
+++ b/src/tests/asn.1/utility.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/utility.c */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 "utility.h"
#include "krb5.h"
#include <stdlib.h>
diff --git a/src/tests/asn.1/utility.h b/src/tests/asn.1/utility.h
index 12d7a99..93a66af 100644
--- a/src/tests/asn.1/utility.h
+++ b/src/tests/asn.1/utility.h
@@ -1,3 +1,28 @@
+/* tests/asn.1/utility.h */
+/*
+ * Copyright (C) 1994 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 __UTILITY_H__
#define __UTILITY_H__
diff --git a/src/tests/create/kdb5_mkdums.c b/src/tests/create/kdb5_mkdums.c
index f451307..bc2fe59 100644
--- a/src/tests/create/kdb5_mkdums.c
+++ b/src/tests/create/kdb5_mkdums.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/create/kdb5_mkdums.c */
/*
- * tests/create/kdb5_mkdums.c
- *
* Copyright 1990,1991 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.
- *
+ */
+
+/*
*
* Edit a KDC database.
*/
diff --git a/src/tests/dejagnu/t_inetd.c b/src/tests/dejagnu/t_inetd.c
index 72d51fd..5e9a0b1 100644
--- a/src/tests/dejagnu/t_inetd.c
+++ b/src/tests/dejagnu/t_inetd.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/dejagnu/t_inetd.c */
/*
- * tests/dejagnu/t_inetd.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,15 +22,15 @@
* 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.
- *
- *
+ */
+
+/*
* A simple program to simulate starting a process from inetd.
*
* Unlike a proper inetd situation, environment variables are passed
* to the client.
*
* usage: t_inetd port program argv0 ...
- *
*/
#include "autoconf.h"
diff --git a/src/tests/dump.c b/src/tests/dump.c
index ba74f88..b8e52b9 100644
--- a/src/tests/dump.c
+++ b/src/tests/dump.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/dump.c */
/*
- * tests/dump.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,11 +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.
- *
- *
- * Dump out a krb5_data to stderr (for debugging purposes).
*/
+/* Dump a krb5_data to stderr (for debugging purposes). */
+
#include <stdio.h>
#include "krb5.h"
diff --git a/src/tests/gssapi/t_accname.c b/src/tests/gssapi/t_accname.c
index ab6bc83..9912ecf 100644
--- a/src/tests/gssapi/t_accname.c
+++ b/src/tests/gssapi/t_accname.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 <stdio.h>
diff --git a/src/tests/gssapi/t_gssexts.c b/src/tests/gssapi/t_gssexts.c
index 4ca2608..7992cdf 100644
--- a/src/tests/gssapi/t_gssexts.c
+++ b/src/tests/gssapi/t_gssexts.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 <stdio.h>
diff --git a/src/tests/gssapi/t_namingexts.c b/src/tests/gssapi/t_namingexts.c
index a75be95..86d276e 100644
--- a/src/tests/gssapi/t_namingexts.c
+++ b/src/tests/gssapi/t_namingexts.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 <stdio.h>
diff --git a/src/tests/gssapi/t_s4u.c b/src/tests/gssapi/t_s4u.c
index 2e23044..4108946 100644
--- a/src/tests/gssapi/t_s4u.c
+++ b/src/tests/gssapi/t_s4u.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 <stdio.h>
diff --git a/src/tests/gssapi/t_saslname.c b/src/tests/gssapi/t_saslname.c
index 40384f7..4794c8f 100644
--- a/src/tests/gssapi/t_saslname.c
+++ b/src/tests/gssapi/t_saslname.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 <stdio.h>
diff --git a/src/tests/hammer/kdc5_hammer.c b/src/tests/hammer/kdc5_hammer.c
index 97e0382..5869e96 100644
--- a/src/tests/hammer/kdc5_hammer.c
+++ b/src/tests/hammer/kdc5_hammer.c
@@ -1,6 +1,5 @@
+/* tests/hammer/kdc5_hammer.c */
/*
- * tests/hammer/kdc5_hammer.c
- *
* Copyright 1990,1991 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.
- *
- *
- * Initialize a credentials cache.
*/
#include <stdio.h>
diff --git a/src/tests/hammer/pp.c b/src/tests/hammer/pp.c
index 7fb9255..5da1fac 100644
--- a/src/tests/hammer/pp.c
+++ b/src/tests/hammer/pp.c
@@ -1,13 +1,11 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/hammer/pp.c */
/*
- * tests/hammer/pp.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
- *
*/
#include "krb5.h"
diff --git a/src/tests/misc/test_getpw.c b/src/tests/misc/test_getpw.c
index 6264821..6031e15 100644
--- a/src/tests/misc/test_getpw.c
+++ b/src/tests/misc/test_getpw.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/misc/test_getpw.c */
+/*
+ * Copyright (C) 2005 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 "autoconf.h"
#include "k5-platform.h"
#include <stdio.h>
diff --git a/src/tests/misc/test_getsockname.c b/src/tests/misc/test_getsockname.c
index dfd5682..285ea60 100644
--- a/src/tests/misc/test_getsockname.c
+++ b/src/tests/misc/test_getsockname.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/misc/test_getsockname.c */
+/*
+ * Copyright (C) 1995 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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.
+ */
+
/*
* test_getsockname.c
*
diff --git a/src/tests/mkeystash_compat/bigendian.c b/src/tests/mkeystash_compat/bigendian.c
index 7c649bd..8d4b79f 100644
--- a/src/tests/mkeystash_compat/bigendian.c
+++ b/src/tests/mkeystash_compat/bigendian.c
@@ -1,4 +1,10 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/mkeystash_compat/bigendian.c */
+/*
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
#include <stdio.h>
/*
diff --git a/src/tests/resolve/addrinfo-test.c b/src/tests/resolve/addrinfo-test.c
index 5b4c5e8..d53b48a 100644
--- a/src/tests/resolve/addrinfo-test.c
+++ b/src/tests/resolve/addrinfo-test.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/resolve/addrinfo-test.c */
/*
- * test/resolve/addrinfo-test.c
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* A simple program to test the functionality of the getaddrinfo function.
*
* Usage:
@@ -34,7 +34,6 @@
* which (at least with a non-null "port") means a socket address
* is desired that can be used with connect() or bind() (depending
* on whether "-P" is given).
- *
*/
#include <stdio.h>
diff --git a/src/tests/resolve/resolve.c b/src/tests/resolve/resolve.c
index 282fba7..69f0e17 100644
--- a/src/tests/resolve/resolve.c
+++ b/src/tests/resolve/resolve.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/resolve/resolve.c */
/*
- * test/resolve/resolve.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* A simple program to test the functionality of the resolver library.
* It simply will try to get the IP address of the host, and then look
* up the name from the address. If the resulting name does not contain the
diff --git a/src/tests/shlib/t_loader.c b/src/tests/shlib/t_loader.c
index 6bdbebd..439b724 100644
--- a/src/tests/shlib/t_loader.c
+++ b/src/tests/shlib/t_loader.c
@@ -1,5 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* foo */
+/* tests/shlib/t_loader.c */
+/*
+ * Copyright (C) 2005 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 <stdio.h>
#include <string.h>
#include <assert.h>
diff --git a/src/tests/test1.c b/src/tests/test1.c
index 53b0d7c..aed656e 100644
--- a/src/tests/test1.c
+++ b/src/tests/test1.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/test1.c - Regression tests for krb5 library */
/*
- * tests/test1.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Regression tests for the kerberos library.
*/
#include "krb5.h"
diff --git a/src/tests/threads/gss-perf.c b/src/tests/threads/gss-perf.c
index 7b4b738..f3630c2 100644
--- a/src/tests/threads/gss-perf.c
+++ b/src/tests/threads/gss-perf.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/gss-perf.c */
/*
- * test/threads/gss-perf.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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.
- *
- *
+ */
+
+/*
* GSSAPI performance testing
* initially contributed by Ken Raeburn
*/
diff --git a/src/tests/threads/init_ctx.c b/src/tests/threads/init_ctx.c
index 1629060..92c0ef6 100644
--- a/src/tests/threads/init_ctx.c
+++ b/src/tests/threads/init_ctx.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/init_ctx.c */
/*
- * test/threads/init_ctx.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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 context creation performance testing
* initially contributed by Ken Raeburn
*/
diff --git a/src/tests/threads/prof1.c b/src/tests/threads/prof1.c
index fba54e9..3d95978 100644
--- a/src/tests/threads/prof1.c
+++ b/src/tests/threads/prof1.c
@@ -1,4 +1,29 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/prof1.c */
+/*
+ * Copyright (C) 2004 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.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * 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 <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/tests/threads/profread.c b/src/tests/threads/profread.c
index 2367b5a..a9ce3d6 100644
--- a/src/tests/threads/profread.c
+++ b/src/tests/threads/profread.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/profread.c */
/*
- * test/threads/profread.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,8 +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 profile data retrieval performance testing
* initially contributed by Ken Raeburn
*/
diff --git a/src/tests/threads/t_rcache.c b/src/tests/threads/t_rcache.c
index d0607ed..e543f13 100644
--- a/src/tests/threads/t_rcache.c
+++ b/src/tests/threads/t_rcache.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/t_rcache.c */
/*
- * test/threads/t_rcache.c
- *
* Copyright (C) 2006 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.
- *
- *
- *
*/
-
#include <stdio.h>
#include <com_err.h>
diff --git a/src/tests/verify/kdb5_verify.c b/src/tests/verify/kdb5_verify.c
index a19a5aa..4294199 100644
--- a/src/tests/verify/kdb5_verify.c
+++ b/src/tests/verify/kdb5_verify.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/verify/kdb5_verify.c */
/*
- * tests/verify/kdb5_verify.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Edit a KDC database.
*/
#include "k5-int.h"
diff --git a/src/tests/verify/pkey.c b/src/tests/verify/pkey.c
index 5f159ce..9ed575c 100644
--- a/src/tests/verify/pkey.c
+++ b/src/tests/verify/pkey.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/verify/pkey.c */
/*
- * tests/verify/pkey.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h
index 6600460..0a631e9 100644
--- a/src/util/et/com_err.h
+++ b/src/util/et/com_err.h
@@ -1,6 +1,4 @@
/*
- * Header file for common error description library.
- *
* Copyright 1988, Student Information Processing Board of the
* Massachusetts Institute of Technology.
*
@@ -10,6 +8,8 @@
* with this package.
*/
+/* Header file for common error description library. */
+
#ifndef __COM_ERR_H
#if defined(_WIN32)
diff --git a/src/util/et/compile_et.c b/src/util/et/compile_et.c
index 993b3ed..47c5637 100644
--- a/src/util/et/compile_et.c
+++ b/src/util/et/compile_et.c
@@ -1,11 +1,14 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- *
* Copyright 1986, 1987, 1988
* by MIT Student Information Processing Board.
*
* For copyright info, see "mit-sipb-copyright.h".
- *
+ */
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
*/
#include <stdio.h>
@@ -287,11 +290,6 @@ int yyerror(s) char *s; {
#ifdef NEED_STRCASECMP
/* Need strcasecmp for this machine */
-/*
- * Copyright (c) 1987 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- */
/* based on @(#)strcasecmp.c 1.3 (Berkeley) 8/3/87 */
diff --git a/src/util/exitsleep.c b/src/util/exitsleep.c
index c027526..e4cc1af 100644
--- a/src/util/exitsleep.c
+++ b/src/util/exitsleep.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/exitsleep.c */
/*
- * util/exitsleep.c
- *
* Copyright (C) 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.
- *
+ */
+
+/*
* Kludge to sleep 100ms prior to exit on Solaris 9 to work around a
* pty bug.
*/
diff --git a/src/util/mac/k5_mig_client.c b/src/util/mac/k5_mig_client.c
index 1891b31..da62153 100644
--- a/src/util/mac/k5_mig_client.c
+++ b/src/util/mac/k5_mig_client.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_client.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/mac/k5_mig_client.h b/src/util/mac/k5_mig_client.h
index 3fa8591..1d13bda 100644
--- a/src/util/mac/k5_mig_client.h
+++ b/src/util/mac/k5_mig_client.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_client.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/mac/k5_mig_server.c b/src/util/mac/k5_mig_server.c
index baea165..cdab13b 100644
--- a/src/util/mac/k5_mig_server.c
+++ b/src/util/mac/k5_mig_server.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_server.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/mac/k5_mig_server.h b/src/util/mac/k5_mig_server.h
index 9ee0fa1..95a5d0a 100644
--- a/src/util/mac/k5_mig_server.h
+++ b/src/util/mac/k5_mig_server.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/profile/argv_parse.c b/src/util/profile/argv_parse.c
index 5101281..aac1f45 100644
--- a/src/util/profile/argv_parse.c
+++ b/src/util/profile/argv_parse.c
@@ -1,15 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * argv_parse.c --- utility function for parsing a string into a
- * argc, argv array.
- *
- * This file defines a function argv_parse() which parsing a
- * passed-in string, handling double quotes and backslashes, and
- * creates an allocated argv vector which can be freed using the
- * argv_free() function.
- *
- * See argv_parse.h for the formal definition of the functions.
- *
* Copyright 1999 by Theodore Ts'o.
*
* Permission to use, copy, modify, and distribute this software for
@@ -25,8 +15,20 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
* it sick that the U.S. culture of lawsuit-happy lawyers requires
* this kind of disclaimer?)
- *
+ */
+
+/*
* Version 1.1, modified 2/27/1999
+ *
+ * argv_parse.c --- utility function for parsing a string into a
+ * argc, argv array.
+ *
+ * This file defines a function argv_parse() which parsing a
+ * passed-in string, handling double quotes and backslashes, and
+ * creates an allocated argv vector which can be freed using the
+ * argv_free() function.
+ *
+ * See argv_parse.h for the formal definition of the functions.
*/
#include "prof_int.h"
diff --git a/src/util/profile/argv_parse.h b/src/util/profile/argv_parse.h
index a84bdee..26904eb 100644
--- a/src/util/profile/argv_parse.h
+++ b/src/util/profile/argv_parse.h
@@ -1,5 +1,25 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
+ * Copyright 1999 by Theodore Ts'o.
+ *
+ * Permission to use, copy, modify, and distribute this software for
+ * any purpose with or without fee is hereby granted, provided that
+ * the above copyright notice and this permission notice appear in all
+ * copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
+ * AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * 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. (Isn't
+ * it sick that the U.S. culture of lawsuit-happy lawyers requires
+ * this kind of disclaimer?)
+ */
+
+/*
+ * Version 1.1, modified 2/27/1999
+ *
* argv_parse.h --- header file for the argv parser.
*
* This file defines the interface for the functions argv_parse() and
@@ -20,24 +40,6 @@
*
* This function frees the argument vector created by argv_parse().
***********************************************************************
- *
- * Copyright 1999 by Theodore Ts'o.
- *
- * Permission to use, copy, modify, and distribute this software for
- * any purpose with or without fee is hereby granted, provided that
- * the above copyright notice and this permission notice appear in all
- * copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
- * AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- * 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. (Isn't
- * it sick that the U.S. culture of lawsuit-happy lawyers requires
- * this kind of disclaimer?)
- *
- * Version 1.1, modified 2/27/1999
*/
extern int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv);
diff --git a/src/util/ss/listen.c b/src/util/ss/listen.c
index ce8e527..f7be47b 100644
--- a/src/util/ss/listen.c
+++ b/src/util/ss/listen.c
@@ -1,9 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/listen.c */
/*
- * Listener loop for subsystem library libss.a.
- *
- * util/ss/listen.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/mk_cmds.c b/src/util/ss/mk_cmds.c
index 6488f7c..3ed3779 100644
--- a/src/util/ss/mk_cmds.c
+++ b/src/util/ss/mk_cmds.c
@@ -1,9 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/mk_cmds.c */
/*
- * make_commands.c
- *
- * util/ss/mk_cmds.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/pager.c b/src/util/ss/pager.c
index be8fd0b..ae023b5 100644
--- a/src/util/ss/pager.c
+++ b/src/util/ss/pager.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/pager.c - create a "more" running out of a file descriptor */
/*
- * Pager: Routines to create a "more" running out of a particular file
- * descriptor.
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/prompt.c b/src/util/ss/prompt.c
index f42fde9..5aa2ad6 100644
--- a/src/util/ss/prompt.c
+++ b/src/util/ss/prompt.c
@@ -1,9 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/prompt.c */
/*
- * prompt.c: Routines for retrieving and setting a prompt.
- *
- * util/ss/prompt.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/requests.c b/src/util/ss/requests.c
index 27c4a20..3e62f97 100644
--- a/src/util/ss/requests.c
+++ b/src/util/ss/requests.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/requests.c */
/*
- * Various minor routines...
- *
* Copyright 1987, 1988, 1989 by MIT
*
* For copyright information, see mit-sipb-copyright.h.
diff --git a/src/util/support/ipc_stream.c b/src/util/support/ipc_stream.c
index 2cea709..72d3070 100644
--- a/src/util/support/ipc_stream.c
+++ b/src/util/support/ipc_stream.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/ipc_stream.c */
/*
- * $Header$
- *
* Copyright 2006, 2007, 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/support/k5buf-int.h b/src/util/support/k5buf-int.h
index 616cee5..cc3c04c 100644
--- a/src/util/support/k5buf-int.h
+++ b/src/util/support/k5buf-int.h
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/k5buf-int.h */
/*
- * k5buf-int.h
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,10 +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.
- *
- * Internal declarations for the k5buf string buffer module.
*/
+/* Internal declarations for the k5buf string buffer module */
+
#ifndef K5BUF_INT_H
#define K5BUF_INT_H
diff --git a/src/util/support/k5buf.c b/src/util/support/k5buf.c
index 799c9f9..5040ded 100644
--- a/src/util/support/k5buf.c
+++ b/src/util/support/k5buf.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/k5buf.c */
/*
- * k5buf.c
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +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.
- *
- * Implement the k5buf string buffer module.
*/
+/* Implement the k5buf string buffer module. */
+
/* Can't include krb5.h here, or k5-int.h which includes it, because
krb5.h needs to be generated with error tables, after util/et,
which builds after this directory. */
diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
index 4e92254..c152056 100644
--- a/src/util/support/plugins.c
+++ b/src/util/support/plugins.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/plugins.c - Plugin module support functions */
/*
- * util/support/plugins.c
- *
* Copyright 2006, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,9 +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.
- *
- *
- * Plugin module support, and shims around dlopen/whatever.
*/
#include "k5-plugin.h"
diff --git a/src/util/support/printf.c b/src/util/support/printf.c
index b3cf46b..8228a40 100644
--- a/src/util/support/printf.c
+++ b/src/util/support/printf.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/printf.c */
/*
- * printf.c
- *
- * Copyright 2003, 2004, 2005, 2007, 2008 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2003, 2004, 2005, 2007, 2008 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.
@@ -23,11 +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.
- *
- *
- * Provide {,v}asprintf for platforms that don't have them.
*/
+/* Provide {,v}asprintf for platforms that don't have them. */
+
#include "k5-platform.h"
/* On error: BSD: Set *ret to NULL. GNU: *ret is undefined.
diff --git a/src/util/support/strlcpy.c b/src/util/support/strlcpy.c
index a3abbfe..26ac34e 100644
--- a/src/util/support/strlcpy.c
+++ b/src/util/support/strlcpy.c
@@ -1,8 +1,4 @@
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-#include "k5-platform.h"
-
-/* Provide strlcpy and strlcat for platforms that don't have them. */
-
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
@@ -19,6 +15,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/* Provide strlcpy and strlcat for platforms that don't have them. */
+
+#include "k5-platform.h"
#include <sys/types.h>
#include <string.h>
diff --git a/src/util/support/supp-int.h b/src/util/support/supp-int.h
index cf8c288..5cd030e 100644
--- a/src/util/support/supp-int.h
+++ b/src/util/support/supp-int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/supp-int.h */
/*
- * util/support/supp-int.h
- *
* Copyright (C) 2006 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.
- *
+ */
+
+/*
*
* Internal prototypes for the krb5support library
*/
diff --git a/src/util/support/t_k5buf.c b/src/util/support/t_k5buf.c
index a74ad85..a6195fc 100644
--- a/src/util/support/t_k5buf.c
+++ b/src/util/support/t_k5buf.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/t_k5buf.c - Test the k5buf string buffer module */
/*
- * t_k5buf.c
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,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.
- *
- * Test the k5buf string buffer module.
*/
#include "k5buf-int.h"
diff --git a/src/util/support/threads.c b/src/util/support/threads.c
index dddf6aa..4370c05 100644
--- a/src/util/support/threads.c
+++ b/src/util/support/threads.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/threads.c - Portable thread support */
/*
- * util/support/threads.c
- *
- * Copyright 2004,2005,2006,2007,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2004,2005,2006,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.
@@ -23,9 +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.
- *
- *
- * Preliminary thread support.
*/
#include <assert.h>
diff --git a/src/util/support/utf8.c b/src/util/support/utf8.c
index dcaa4cb..4398275 100644
--- a/src/util/support/utf8.c
+++ b/src/util/support/utf8.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/utf8.c */
/*
- * util/support/utf8.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,8 +23,7 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -37,6 +35,9 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
+
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
/* Basic UTF-8 routines
*
* These routines are "dumb". Though they understand UTF-8,
diff --git a/src/util/support/utf8_conv.c b/src/util/support/utf8_conv.c
index 47ff951..6e7c588 100644
--- a/src/util/support/utf8_conv.c
+++ b/src/util/support/utf8_conv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/utf8_conv.c */
/*
- * util/support/utf8_conv.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,8 +23,7 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -37,7 +35,7 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* Portions Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
+/* Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
@@ -49,6 +47,8 @@
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
/*
* UTF-8 Conversion Routines
*
diff --git a/src/util/support/zap.c b/src/util/support/zap.c
index ae6baf0..48512a9 100644
--- a/src/util/support/zap.c
+++ b/src/util/support/zap.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/zap.c */
/*
- * zap.c
- *
* Copyright 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,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.
- *
+ */
+
+/*
* krb5int_zap() is used by zap() (a static inline function defined in
* k5-int.h) on non-Windows, non-gcc compilers, in order to prevent the
* compiler from inlining and optimizing out the memset() call.
diff --git a/src/wconfig.c b/src/wconfig.c
index c5f5e63..63de4e3 100644
--- a/src/wconfig.c
+++ b/src/wconfig.c
@@ -1,6 +1,5 @@
+/* wconfig.c */
/*
- * wconfig.c
- *
* Copyright 1995,1996,1997,1998 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -22,8 +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.
- *
- *
+ */
+
+/*
* Program to take the place of the configure shell script under DOS.
* The makefile.in files are constructed in such a way that all this
* program needs to do is uncomment lines beginning ##DOS by removing the
diff --git a/src/windows/cns/cns.c b/src/windows/cns/cns.c
index c8ca069..d1a7a86 100644
--- a/src/windows/cns/cns.c
+++ b/src/windows/cns/cns.c
@@ -1,15 +1,16 @@
+/* windows/cns/cns.c */
/*
- * cns.c
- *
- * Main routine of the Kerberos user interface. Also handles
- * all dialog level management functions.
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*/
+/*
+ * Main routine of the Kerberos user interface. Also handles
+ * all dialog level management functions.
+ */
+
#include <windows.h>
#include <windowsx.h>
diff --git a/src/windows/cns/tktlist.c b/src/windows/cns/tktlist.c
index e3f3332..16c8f33 100644
--- a/src/windows/cns/tktlist.c
+++ b/src/windows/cns/tktlist.c
@@ -1,14 +1,13 @@
+/* windows/cns/tktlist.c */
/*
- * tktlist.c
- *
- * Handle all actions of the Kerberos ticket list.
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*/
+/* Handle all actions of the Kerberos ticket list. */
+
#if !defined(KRB5) && !defined(KRB4)
#define KRB5 1
#endif
diff --git a/src/windows/cns/tktlist.h b/src/windows/cns/tktlist.h
index 6b1e7cd..96d6ff8 100644
--- a/src/windows/cns/tktlist.h
+++ b/src/windows/cns/tktlist.h
@@ -1,14 +1,13 @@
+/* windows/cns/tktlist.h */
/*
- * tktlist.h
- *
- * Handle all actions of the Kerberos ticket list.
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*/
+/* Handle all actions of the Kerberos ticket list. */
+
/* Only one time, please */
#ifndef TKTLIST_DEFS
#define TKTLIST_DEFS
diff --git a/src/windows/lib/cacheapi.h b/src/windows/lib/cacheapi.h
index 42189ee..87d71f9 100644
--- a/src/windows/lib/cacheapi.h
+++ b/src/windows/lib/cacheapi.h
@@ -1,6 +1,5 @@
+/* windows/lib/cacheapi.h */
/*
- * $Id$
- *
* Copyright 1997 by the Regents of the University of Michigan
*
* This software is being provided to you, the LICENSEE, by the
diff --git a/src/windows/lib/vardlg.c b/src/windows/lib/vardlg.c
index 3bec6e4..742947e 100644
--- a/src/windows/lib/vardlg.c
+++ b/src/windows/lib/vardlg.c
@@ -1,12 +1,13 @@
/*
+ * Copyright (C) 1997 Cygnus Solutions.
+ *
+ * Author: Michael Graff
+ */
+/*
* Dialog box building for various numbers of (label, entry) fields.
*
* This code is somewhat hardcoded to build boxes for the krb5_get_init_creds()
* function.
- *
- * Copyright (C) 1997 Cygnus Solutions.
- *
- * Author: Michael Graff
*/
#include <windows.h>
diff --git a/src/windows/ms2mit/mit2ms.c b/src/windows/ms2mit/mit2ms.c
index ac36cba..5dc057e 100644
--- a/src/windows/ms2mit/mit2ms.c
+++ b/src/windows/ms2mit/mit2ms.c
@@ -1,7 +1,4 @@
-/*
- * mit2ms.c
- *
- */
+/* windows/ms2mit/mit2ms.c */
/*
* Copyright (C) 2003,2004 by the Massachusetts Institute of Technology.
* All rights reserved.
@@ -24,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 "krb5.h"
diff --git a/src/windows/ms2mit/ms2mit.c b/src/windows/ms2mit/ms2mit.c
index 3d73d0ad..31c269a 100644
--- a/src/windows/ms2mit/ms2mit.c
+++ b/src/windows/ms2mit/ms2mit.c
@@ -1,7 +1,4 @@
-/*
- * ms2mit.c
- *
- */
+/* windows/ms2mit/ms2mit.c */
/*
* Copyright (C) 2003 by the Massachusetts Institute of Technology.
* All rights reserved.
@@ -24,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 "krb5.h"
diff --git a/src/windows/winlevel.h b/src/windows/winlevel.h
index 7f56b56..13ad8fc 100644
--- a/src/windows/winlevel.h
+++ b/src/windows/winlevel.h
@@ -1,6 +1,5 @@
+/* windows/winlevel.h */
/*
- * winlevel.h
- *
* Copyright (C) 2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*