diff options
author | Ken Raeburn <raeburn@mit.edu> | 2003-07-22 19:09:32 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2003-07-22 19:09:32 +0000 |
commit | 60ac58b5130b6ff110e9aeb569c29eeb20823840 (patch) | |
tree | 64c1523b7c4e1f5a8e905954cb81623f2c92eac0 /src/lib/crypto/make_checksum.c | |
parent | 3610cd5cd67a4f6f9234de36410a75a2902842fe (diff) | |
download | krb5-60ac58b5130b6ff110e9aeb569c29eeb20823840.tar.gz krb5-60ac58b5130b6ff110e9aeb569c29eeb20823840.tar.xz krb5-60ac58b5130b6ff110e9aeb569c29eeb20823840.zip |
Change crypto "provider" structures to hold numeric values instead of function
pointers for key sizes, block sizes, etc., when the values are always constant
for each encryption or hash mechanism.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15714 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/make_checksum.c')
-rw-r--r-- | src/lib/crypto/make_checksum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/crypto/make_checksum.c b/src/lib/crypto/make_checksum.c index 8a384e710a..9d272eb796 100644 --- a/src/lib/crypto/make_checksum.c +++ b/src/lib/crypto/make_checksum.c @@ -52,9 +52,9 @@ krb5_c_make_checksum(context, cksumtype, key, usage, input, cksum) return(KRB5_BAD_ENCTYPE); if (krb5_cksumtypes_list[i].keyhash) - (*(krb5_cksumtypes_list[i].keyhash->hash_size))(&cksumlen); + cksumlen = krb5_cksumtypes_list[i].keyhash->hashsize; else - (*(krb5_cksumtypes_list[i].hash->hash_size))(&cksumlen); + cksumlen = krb5_cksumtypes_list[i].hash->hashsize; cksum->length = cksumlen; |