+Wed Mar 20 22:33:40 1996 Theodore Y. Ts'o <tytso@dcl>
+
+ * u_nfold.c (mit_des_n_fold):
+ * d3_str2ky.c (mit_des3_string_to_key): Fix Windows lint flames.
+
Mon Mar 11 11:03:23 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* new_rn_key.c (mit_des_generate_random_block): Add const keywrod
const krb5_data FAR * data;
const krb5_data FAR * salt;
{
- register char *str, *copystr;
- register mit_des_cblock *key;
- register int j;
+ char *copystr;
+ mit_des_cblock *key;
+ unsigned int j;
- register long length;
+ int length;
mit_des3_key_schedule ks;
krb5_enctype enctype = eblock->crypto_entry->proto_enctype;
#endif
do {
- int j;
- register unsigned int k;
+ unsigned int j, k;
/* Rotate input */
k = ((bytes/inlen) * ROTATE_VALUE) % (inlen*8);
}
j = bytes % outlen;
while (k) {
- if (j-- == 0)
- j += outlen;
+ if (j == 0)
+ j = outlen;
+ j--;
k += outbuf[j];
outbuf[j] = k & 0xff;
k >>= 8;