>From e0c3be4240ae0c3069fd68d4d20e768fd420a8c4 Mon Sep 17 00:00:00 2001 From: Alexander Cherepanov Date: Sat, 11 May 2013 18:13:53 +0400 Subject: [PATCH 2/5] Make DES_KS_table in DES_std.c static. --- src/DES_std.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/DES_std.c b/src/DES_std.c index 49de74b..126db57 100644 --- a/src/DES_std.c +++ b/src/DES_std.c @@ -83,7 +83,11 @@ DES_binary DES_IV; ARCH_WORD DES_count; DES_KS CC_CACHE_ALIGN DES_KS_current; -DES_KS CC_CACHE_ALIGN DES_KS_table[8][128]; +static DES_KS CC_CACHE_ALIGN DES_KS_table[8][128]; + +#else + +extern DES_KS DES_KS_table[8][128]; #endif @@ -97,8 +101,6 @@ extern DES_KS DES_KS_copy; unsigned ARCH_WORD *DES_out; #endif -extern DES_KS DES_KS_table[8][128]; - #if ARCH_BITS >= 64 static ARCH_WORD DES_IP_E[8][16], DES_C_FP[16][16]; #else -- 1.7.2.5