summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc2/rc2_skey.c
diff options
context:
space:
mode:
authormiod <>2014-04-17 21:17:12 +0000
committermiod <>2014-04-17 21:17:12 +0000
commitaa8f085033b21b0ec0b70c18909ba27ef8752e51 (patch)
treeda9109a7546d5e98b8647a37cc675d8b776d00ad /src/lib/libcrypto/rc2/rc2_skey.c
parente3644ed49258ff4a399142bf4ed0a7ba5f9bf76a (diff)
downloadopenbsd-aa8f085033b21b0ec0b70c18909ba27ef8752e51.tar.gz
openbsd-aa8f085033b21b0ec0b70c18909ba27ef8752e51.tar.bz2
openbsd-aa8f085033b21b0ec0b70c18909ba27ef8752e51.zip
Get rid of MS Visual C compiler and Intel C compiler specific defines.
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