diff options
| author | miod <> | 2014-04-17 21:17:12 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-17 21:17:12 +0000 |
| commit | aa8f085033b21b0ec0b70c18909ba27ef8752e51 (patch) | |
| tree | da9109a7546d5e98b8647a37cc675d8b776d00ad /src/lib/libcrypto/rc2 | |
| parent | e3644ed49258ff4a399142bf4ed0a7ba5f9bf76a (diff) | |
| download | openbsd-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')
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2_skey.c | 8 |
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 | ||
