* dk_encrypt.c (krb5_marc_dk_encrypt): Call
authorTom Yu <tlyu@mit.edu>
Tue, 29 Jun 1999 01:55:21 +0000 (01:55 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 29 Jun 1999 01:55:21 +0000 (01:55 +0000)
krb5_marc_dk_encrypt_length() instead of krb5_dk_encrypt_length()
to prevent blocksize errors.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11532 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/dk/ChangeLog
src/lib/crypto/dk/dk_encrypt.c

index 566ce30ea10f695fa22526f502521090144fa220..1edb32e38760fc677f991161aa7080017b125d49 100644 (file)
@@ -1,3 +1,9 @@
+1999-06-28  Tom Yu  <tlyu@mit.edu>
+
+       * dk_encrypt.c (krb5_marc_dk_encrypt): Call
+       krb5_marc_dk_encrypt_length() instead of krb5_dk_encrypt_length()
+       to prevent blocksize errors.
+
 Mon May 10 15:16:34 1999  Danilo Almeida  <dalmeida@mit.edu>
 
        * Makefile.in: Do win32 build in subdir.
index a1b85a3acabf01a18790ca6a4b98978b9582388e..30212c4435f540a5ecdc313477297907653319b2 100644 (file)
@@ -205,7 +205,7 @@ krb5_marc_dk_encrypt(enc, hash, key, usage, ivec, input, output)
     (*(enc->keysize))(&keybytes, &keylength);
     plainlen = krb5_roundup(blocksize+4+input->length, blocksize);
 
-    krb5_dk_encrypt_length(enc, hash, input->length, &enclen);
+    krb5_marc_dk_encrypt_length(enc, hash, input->length, &enclen);
 
     /* key->length, ivec will be tested in enc->encrypt */