krb5_octet to char * to match prototype.
* des.c (des_ecb_encrypt): Add const keyword in cast to make
suncc happy.
The sun C compiler gets upset if we cast and are missing a const or we
to unsigned char * vs char *....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8969
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Aug 7 12:50:36 1996 Ezra Peisach <epeisach@mit.edu>
+
+ * new_rnd_key.c (des_set_sequence_number): Change cast to
+ krb5_octet to char *.
+
+ * des.c (des_ecb_encrypt): Add const keyword in cast to make
+ suncc happy.
+
Tue May 21 20:42:16 1996 Sam Hartman <hartmans@mit.edu>
* Makefile.in (check-unix): Use KRB5_RUN_FLAGS
int encrypt; /* 0 ==> decrypt, else encrypt */
register mit_des_key_schedule schedule; /* r11 */
{
- return (mit_des_ecb_encrypt((mit_des_cblock *) clear,
+ return (mit_des_ecb_encrypt((const mit_des_cblock FAR *) clear,
(mit_des_cblock *) cipher,
schedule,
encrypt));
krb5_data sequence;
sequence.length = sizeof(new_sequence_number);
- sequence.data = (krb5_octet *)new_sequence_number;
+ sequence.data = (char FAR *)new_sequence_number;
mit_des_set_random_sequence_number(&sequence, des425_random_state);
}