diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2002-12-23 18:01:54 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2002-12-23 18:01:54 +0000 |
| commit | 3dfda778fd007686f1d5edd0f434d45d74ac982b (patch) | |
| tree | 122b8ad768db62ab8aaba18fae2cc6a199a313a3 /src/lib/crypto/pbkdf2.c | |
| parent | ed470a964a99e4b2b1ce579d1b01ffefe2bd2af6 (diff) | |
| download | krb5-3dfda778fd007686f1d5edd0f434d45d74ac982b.tar.gz krb5-3dfda778fd007686f1d5edd0f434d45d74ac982b.tar.xz krb5-3dfda778fd007686f1d5edd0f434d45d74ac982b.zip | |
Cleanup unused
variables. Signed vs unsigned cleanup. Ensure variables set before
use.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15065 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/pbkdf2.c')
| -rw-r--r-- | src/lib/crypto/pbkdf2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/crypto/pbkdf2.c b/src/lib/crypto/pbkdf2.c index b5d0bfcae..03b729335 100644 --- a/src/lib/crypto/pbkdf2.c +++ b/src/lib/crypto/pbkdf2.c @@ -75,7 +75,7 @@ static void printd (const char *descr, krb5_data *d) { } static void printk(const char *descr, krb5_keyblock *k) { krb5_data d; - d.data = k->contents; + d.data = (char *) k->contents; d.length = k->length; printd(descr, &d); } @@ -226,7 +226,7 @@ static krb5_error_code hmac1(const struct krb5_hash_provider *h, abort(); if (key->length > blocksize) { krb5_data d, d2; - d.data = key->contents; + d.data = (char *) key->contents; d.length = key->length; d2.data = tmp; d2.length = hashsize; @@ -234,7 +234,7 @@ static krb5_error_code hmac1(const struct krb5_hash_provider *h, if (err) return err; key->length = d2.length; - key->contents = d2.data; + key->contents = (krb5_octet *) d2.data; if (debug_hmac) printk(" pre-hashed key", key); } |
