summaryrefslogtreecommitdiffstats
path: root/crypto/rc2
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-08-07 22:29:58 +0000
committerAndy Polyakov <appro@openssl.org>2005-08-07 22:29:58 +0000
commit98e986141b416b99788f514218fbe3b53b49d6c8 (patch)
treed53e3ea65cf7e4aa9c8c6713db41eaafc1f0b418 /crypto/rc2
parentd7e35e037163319142be0d9bf51d99e96ee6e91f (diff)
Windows CE update from HEAD.
Diffstat (limited to 'crypto/rc2')
-rw-r--r--crypto/rc2/rc2_skey.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/rc2/rc2_skey.c b/crypto/rc2/rc2_skey.c
index cab3080c73..4953642056 100644
--- a/crypto/rc2/rc2_skey.c
+++ b/crypto/rc2/rc2_skey.c
@@ -84,6 +84,10 @@ static unsigned char key_table[256]={
0xfe,0x7f,0xc1,0xad,
};
+#if defined(_MSC_VER) && defined(_ARM_)
+#pragma optimize("g",off)
+#endif
+
/* It has come to my attention that there are 2 versions of the RC2
* key schedule. One which is normal, and anther which has a hook to
* use a reduced key length.
@@ -136,3 +140,6 @@ void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
*(ki--)=((k[i]<<8)|k[i-1])&0xffff;
}
+#if defined(_MSC_VER)
+#pragma optimize("",on)
+#endif