From: Ken Raeburn Date: Thu, 17 Jul 2003 12:31:31 +0000 (+0000) Subject: Use the old DES encrypt function, not the split versions via macros X-Git-Tag: krb5-1.4-beta1~811 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a507eb5f473854153d48197b3cd6c3d81534d48;p=krb5.git Use the old DES encrypt function, not the split versions via macros * des.c (mit_des_cbc_encrypt): Undef before use. * enc_dec.c (mit_des_cbc_encrypt): Likewise. * mac_des_glue.c (mit_des3_cbc_encrypt): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15693 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/des425/ChangeLog b/src/lib/des425/ChangeLog index 9ab878a94..d4ebd99fd 100644 --- a/src/lib/des425/ChangeLog +++ b/src/lib/des425/ChangeLog @@ -1,3 +1,9 @@ +2003-07-17 Ken Raeburn + + * des.c (mit_des_cbc_encrypt): Undef before use. + * enc_dec.c (mit_des_cbc_encrypt): Likewise. + * mac_des_glue.c (mit_des3_cbc_encrypt): Likewise. + 2003-04-23 Ken Raeburn * quad_cksum.c, t_pcbc.c, t_quad.c, verify.c: Don't declare errno diff --git a/src/lib/des425/des.c b/src/lib/des425/des.c index 27245bb36..745b4bed5 100644 --- a/src/lib/des425/des.c +++ b/src/lib/des425/des.c @@ -28,6 +28,7 @@ #include "des_int.h" #include "des.h" +#undef mit_des_cbc_encrypt int KRB5_CALLCONV des_ecb_encrypt(clear, cipher, schedule, enc) diff --git a/src/lib/des425/enc_dec.c b/src/lib/des425/enc_dec.c index 69e4a57cb..b75a63e20 100644 --- a/src/lib/des425/enc_dec.c +++ b/src/lib/des425/enc_dec.c @@ -29,6 +29,7 @@ #include "des_int.h" #include "des.h" +#undef mit_des_cbc_encrypt int des_cbc_encrypt(in,out,length,key,iv,enc) diff --git a/src/lib/des425/mac_des_glue.c b/src/lib/des425/mac_des_glue.c index 130ced4bc..b7f3a6af8 100644 --- a/src/lib/des425/mac_des_glue.c +++ b/src/lib/des425/mac_des_glue.c @@ -1,5 +1,6 @@ #include "des_int.h" #include "des.h" +#undef mit_des3_cbc_encrypt /* These functions are exported on KfM for ABI compatibility with * older versions of the library. They have been pulled from the headers