summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc2/rc2_skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2_skey.c')
-rw-r--r--src/lib/libcrypto/rc2/rc2_skey.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/libcrypto/rc2/rc2_skey.c b/src/lib/libcrypto/rc2/rc2_skey.c
index 26b8dd63f6..56e47845a4 100644
--- a/src/lib/libcrypto/rc2/rc2_skey.c
+++ b/src/lib/libcrypto/rc2/rc2_skey.c
@@ -85,10 +85,6 @@ static const unsigned char key_table[256]={
85 0xfe,0x7f,0xc1,0xad, 85 0xfe,0x7f,0xc1,0xad,
86 }; 86 };
87 87
88#if defined(_MSC_VER) && defined(_ARM_)
89#pragma optimize("g",off)
90#endif
91
92/* It has come to my attention that there are 2 versions of the RC2 88/* It has come to my attention that there are 2 versions of the RC2
93 * key schedule. One which is normal, and anther which has a hook to 89 * key schedule. One which is normal, and anther which has a hook to
94 * use a reduced key length. 90 * use a reduced key length.
@@ -140,7 +136,3 @@ void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
140 for (i=127; i>=0; i-=2) 136 for (i=127; i>=0; i-=2)
141 *(ki--)=((k[i]<<8)|k[i-1])&0xffff; 137 *(ki--)=((k[i]<<8)|k[i-1])&0xffff;
142 } 138 }
143
144#if defined(_MSC_VER)
145#pragma optimize("",on)
146#endif