From: Ezra Peisach Date: Wed, 20 Mar 1996 02:22:22 +0000 (+0000) Subject: * new_rn_key.c (mit_des_generate_random_block): Add const keywrod X-Git-Tag: krb5-1.0-beta6~325 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8b6e3e2f1561040c427645de7e5e683e4b88943;p=krb5.git * new_rn_key.c (mit_des_generate_random_block): Add const keywrod to cast for suncc warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7677 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/des/.Sanitize b/src/lib/crypto/des/.Sanitize index 9767f9127..e790c0e6f 100644 --- a/src/lib/crypto/des/.Sanitize +++ b/src/lib/crypto/des/.Sanitize @@ -32,6 +32,12 @@ cbc_cksum.c configure configure.in cs_entry.c +d3_cbc.c +d3_ecb.c +d3_kysched.c +d3_procky.c +d3_rndky.c +d3_str2ky.c des.h des_int.h destest.c @@ -54,7 +60,9 @@ new_rn_key.c process_ky.c random_key.c string2key.c -verify.c +t_random.c +t_verify.c +u_nfold.c weak_key.c Things-to-lose: diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index f07b4c082..d9910561e 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 11 11:03:23 1996 Ezra Peisach + + * new_rn_key.c (mit_des_generate_random_block): Add const keywrod + to cast for suncc warning. + Thu Feb 22 20:32:08 1996 Theodore Y. Ts'o * t_random.c: New file which just tests the random number generator. diff --git a/src/lib/crypto/des/new_rn_key.c b/src/lib/crypto/des/new_rn_key.c index d8c72a716..e10060272 100644 --- a/src/lib/crypto/des/new_rn_key.c +++ b/src/lib/crypto/des/new_rn_key.c @@ -219,7 +219,7 @@ mit_des_generate_random_block(block, p_seed) /* * Encrypt the sequence number to get the new random block: */ - mit_des_ecb_encrypt((mit_des_cblock *)p_seed->sequence_number, + mit_des_ecb_encrypt((const mit_des_cblock *)p_seed->sequence_number, (mit_des_cblock *)block, p_seed->random_sequence_key, 1);