Get rid of unused variable
authorEzra Peisach <epeisach@mit.edu>
Wed, 28 Jun 2000 17:00:27 +0000 (17:00 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 28 Jun 2000 17:00:27 +0000 (17:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12448 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/keyhash_provider/ChangeLog
src/lib/crypto/keyhash_provider/descbc.c

index 99d589bc2b060a4e600f9d0fffc84bf976f0cb3a..9e28d058da9920c08aec2fd6978c121eab2f9f5c 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-28  Ezra Peisach  <epeisach@mit.edu>
+
+       * descbc.c (k5_descbc_hash): Get rid of unused variable.
+
 2000-01-21  Ken Raeburn  <raeburn@mit.edu>
 
        * descbc.c (mit_des_zeroblock): Now const, and using C default
index de9f8cb47d7f2231e0b1f4b3e292d738be4f40b0..c608bec2667dc79b6eaee61a6e053df934d6e962 100644 (file)
@@ -41,7 +41,6 @@ k5_descbc_hash(krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec,
               krb5_const krb5_data *input, krb5_data *output)
 {
     mit_des_key_schedule schedule;
-    int ret;
 
     if (key->length != 8)
        return(KRB5_BAD_KEYSIZE);
@@ -52,7 +51,7 @@ k5_descbc_hash(krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec,
     if (output->length != 8)
        return(KRB5_CRYPTO_INTERNAL);
 
-    switch (ret = mit_des_key_sched(key->contents, schedule)) {
+    switch (mit_des_key_sched(key->contents, schedule)) {
     case -1:
        return(KRB5DES_BAD_KEYPAR);
     case -2: