From 60ac58b5130b6ff110e9aeb569c29eeb20823840 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 22 Jul 2003 19:09:32 +0000 Subject: 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 --- src/lib/crypto/string_to_key.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/crypto/string_to_key.c') diff --git a/src/lib/crypto/string_to_key.c b/src/lib/crypto/string_to_key.c index 412583185b..27f49aabe7 100644 --- a/src/lib/crypto/string_to_key.c +++ b/src/lib/crypto/string_to_key.c @@ -85,8 +85,8 @@ krb5_c_string_to_key_with_params(context, enctype, string, salt, params, key) } } - - (*(enc->keysize))(&keybytes, &keylength); + keybytes = enc->keybytes; + keylength = enc->keylength; if ((key->contents = (krb5_octet *) malloc(keylength)) == NULL) return(ENOMEM); -- cgit