+2000-06-28 Ezra Peisach <epeisach@mit.edu>
+
+ * des.c, des3.c: Remove unused variables.
+
2000-01-21 Ken Raeburn <raeburn@mit.edu>
* des.c (mit_des_zeroblock): Now const, and using C default
krb5_const krb5_data *input, krb5_data *output, int encrypt)
{
mit_des_key_schedule schedule;
- int ret;
/* key->enctype was checked by the caller */
if (input->length != output->length)
return(KRB5_BAD_MSIZE);
- 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:
krb5_const krb5_data *input, krb5_data *output, int encrypt)
{
mit_des3_key_schedule schedule;
- int ret;
/* key->enctype was checked by the caller */
if (input->length != output->length)
return(KRB5_BAD_MSIZE);
- switch (ret = mit_des3_key_sched(*(mit_des3_cblock *)key->contents,
+ switch (mit_des3_key_sched(*(mit_des3_cblock *)key->contents,
schedule)) {
case -1:
return(KRB5DES_BAD_KEYPAR);