Based on patch from lxs, with some changes:
authorKen Raeburn <raeburn@mit.edu>
Wed, 27 Aug 2008 16:36:00 +0000 (16:36 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 27 Aug 2008 16:36:00 +0000 (16:36 +0000)
commit8acb29c6f3259749c85985c2df6b0cbd870c52f6
tree0a79e57cf8714e3a10df69586ce445abe7c36a31
parent6f207872f88b0c63e0ec81041f8c54b6b68f73f5
Based on patch from lxs, with some changes:

Add several new gcc warning flags, used in the KfM build process.

Put declarations before code.

Fix a bunch of signed/unsigned type mixes, mostly by changing variable
types to unsigned int.

Fix constness in handling name of default ccache name.

Make sure functions get declared with prototypes:
krb5int_pthread_loaded krb5int_gmt_mktime krb5int_aes_encrypt
krb5int_aes_decrypt gssint_mecherrmap_init gssint_mecherramp_get.

Don't shadow global names: stat accept index open encrypt.  Fix
variable shadowing in LDAP ASN.1 support.

Don't define unused krb5int_local_addresses.
Don't export internal krb5_change_set_password.
Fix error return indications from gssint_oid_to_mech.

Create and use k5-gmt_mktime.h to provide one global declaration of
krb5int_gmt_mktime, needed before we've generated krb5.h on some
platforms.

Not incorporated from initial patch: const changes in function
signatures.

ticket: 6096
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20697 dc483132-0cff-0310-8789-dd5450dbe970
69 files changed:
src/aclocal.m4
src/include/k5-gmt_mktime.h [new file with mode: 0644]
src/include/k5-int.h
src/include/k5-thread.h
src/kim/lib/kim_preferences.c
src/kim/lib/mac/kim_os_string.c
src/lib/crypto/checksum_length.c
src/lib/crypto/cksumtype_to_string.c
src/lib/crypto/cksumtypes.c
src/lib/crypto/cksumtypes.h
src/lib/crypto/coll_proof_cksum.c
src/lib/crypto/des/f_parity.c
src/lib/crypto/des/string2key.c
src/lib/crypto/des/weak_key.c
src/lib/crypto/hash_provider/hash_crc32.c
src/lib/crypto/hash_provider/hash_md4.c
src/lib/crypto/hash_provider/hash_md5.c
src/lib/crypto/hash_provider/hash_sha1.c
src/lib/crypto/hmac.c
src/lib/crypto/keyed_cksum.c
src/lib/crypto/keyhash_provider/k5_md4des.c
src/lib/crypto/keyhash_provider/k5_md5des.c
src/lib/crypto/make_checksum.c
src/lib/crypto/pbkdf2.c
src/lib/crypto/sha1/shs.c
src/lib/crypto/string_to_cksumtype.c
src/lib/crypto/valid_cksumtype.c
src/lib/crypto/verify_checksum.c
src/lib/gssapi/generic/gssapiP_generic.h
src/lib/gssapi/generic/util_buffer.c
src/lib/gssapi/generic/util_errmap.c
src/lib/gssapi/gss_libinit.c
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/gssapi/krb5/copy_ccache.c
src/lib/gssapi/krb5/import_sec_context.c
src/lib/gssapi/krb5/init_sec_context.c
src/lib/gssapi/krb5/inq_context.c
src/lib/gssapi/krb5/k5seal.c
src/lib/gssapi/krb5/krb5_gss_glue.c
src/lib/gssapi/krb5/set_allowable_enctypes.c
src/lib/gssapi/krb5/util_seed.c
src/lib/gssapi/mechglue/g_acquire_cred.c
src/lib/gssapi/mechglue/g_initialize.c
src/lib/gssapi/mechglue/g_inq_context.c
src/lib/gssapi/mechglue/g_rel_oid_set.c
src/lib/gssapi/mechglue/mglueP.h
src/lib/gssapi/mechglue/oid_ops.c
src/lib/gssapi/spnego/gssapiP_spnego.h
src/lib/gssapi/spnego/spnego_mech.c
src/lib/krb5/asn.1/asn1_decode.c
src/lib/krb5/asn.1/asn1_k_decode.c
src/lib/krb5/asn.1/asn1buf.c
src/lib/krb5/asn.1/asn1buf.h
src/lib/krb5/asn.1/ldap_key_seq.c
src/lib/krb5/ccache/ccdefault.c
src/lib/krb5/krb/gc_frm_kdc.c
src/lib/krb5/krb/pkinit_apple_cert_store.c
src/lib/krb5/krb/pkinit_apple_utils.c
src/lib/krb5/krb/preauth2.c
src/lib/krb5/krb/ser_ctx.c
src/lib/krb5/krb/srv_rcache.c
src/lib/krb5/krb/str_conv.c
src/lib/krb5/libkrb5.exports
src/lib/krb5/os/changepw.c
src/lib/krb5/os/gen_rname.c
src/lib/krb5/os/localaddr.c
src/lib/krb5/os/sendto_kdc.c
src/lib/krb5/rcache/rc_io.c
src/util/support/gmt_mktime.c