Various changes to:
authorKen Raeburn <raeburn@mit.edu>
Sat, 22 Jan 2000 03:49:56 +0000 (03:49 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 22 Jan 2000 03:49:56 +0000 (03:49 +0000)
commit41ff7485d2775407c85fb2b90b26c3170b2ad4b5
tree7df399eaecf500c53aa731a454f0d7892672aed5
parent914f75cb840b0282bb73d821e7c9c81d05cada29
Various changes to:
 * make most non-changing data const
 * silence "gcc -Wall -Werror" complaints on sparc-solaris2.6
 ** delete unused functions and variables
 ** change if(a=b) ... to if((a=b)) or if((a=b)!=0) [yeah, kinda gratuitous]
 ** insert extra braces for 2-D arrays
 * some basic thread safety checks

Not changing afsstring2key.c until I make sure I've got some tests for it.
Currently, prng.c and afsstring2key.c, at least, still aren't thread-safe.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11959 dc483132-0cff-0310-8789-dd5450dbe970
45 files changed:
src/lib/crypto/ChangeLog
src/lib/crypto/cksumtypes.c
src/lib/crypto/cksumtypes.h
src/lib/crypto/dk/ChangeLog
src/lib/crypto/dk/checksum.c
src/lib/crypto/dk/dk_decrypt.c
src/lib/crypto/dk/dk_encrypt.c
src/lib/crypto/dk/stringtokey.c
src/lib/crypto/enc_provider/ChangeLog
src/lib/crypto/enc_provider/des.c
src/lib/crypto/enc_provider/des3.c
src/lib/crypto/enc_provider/enc_provider.h
src/lib/crypto/etypes.c
src/lib/crypto/etypes.h
src/lib/crypto/hash_provider/ChangeLog
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_provider.h
src/lib/crypto/hash_provider/hash_sha1.c
src/lib/crypto/hmac.c
src/lib/crypto/keyhash_provider/ChangeLog
src/lib/crypto/keyhash_provider/descbc.c
src/lib/crypto/keyhash_provider/k5_md4des.c
src/lib/crypto/keyhash_provider/k5_md5des.c
src/lib/crypto/keyhash_provider/keyhash_provider.h
src/lib/crypto/make_checksum.c
src/lib/crypto/make_random_key.c
src/lib/crypto/md4/ChangeLog
src/lib/crypto/md4/md4.c
src/lib/crypto/md4/rsa-md4.h
src/lib/crypto/md5/ChangeLog
src/lib/crypto/md5/md5.c
src/lib/crypto/md5/rsa-md5.h
src/lib/crypto/nfold.c
src/lib/crypto/old/ChangeLog
src/lib/crypto/old/des_stringtokey.c
src/lib/crypto/old/old_decrypt.c
src/lib/crypto/old/old_encrypt.c
src/lib/crypto/old_api_glue.c
src/lib/crypto/prng.c
src/lib/crypto/sha1/ChangeLog
src/lib/crypto/sha1/shs.c
src/lib/crypto/string_to_key.c
src/lib/crypto/verify_checksum.c