From: Derrick Brashear Date: Tue, 3 Jul 2007 05:24:45 +0000 (+0000) Subject: STABLE14-des-p-temp-volatile-20070703 X-Git-Tag: openafs-stable-1_4_5-pre1~71 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f88cbad2284d45c896866529a45e6e516a3187ef;p=packages%2Fo%2Fopenafs.git STABLE14-des-p-temp-volatile-20070703 make des work again on powerpc darwin and possibly elsewhere (cherry picked from commit a5815643fcdbb96a01d73520fa22f5652f11413d) --- diff --git a/src/des/des.c b/src/des/des.c index 138d48d7d..099021748 100644 --- a/src/des/des.c +++ b/src/des/des.c @@ -90,7 +90,7 @@ des_ecb_encrypt(void * clear, void * cipher, #error dunno how to do this machine type, you lose; #endif #endif - afs_uint32 P_temp; + volatile afs_uint32 P_temp; volatile unsigned char *P_temp_p = (unsigned char *)&P_temp; #ifdef BITS16 sbox_out S_out;