| Index: trunk/src/net/http/des.cc
|
| ===================================================================
|
| --- trunk/src/net/http/des.cc (revision 283844)
|
| +++ trunk/src/net/http/des.cc (working copy)
|
| @@ -93,10 +93,10 @@
|
| crypto::EnsureOpenSSLInit();
|
|
|
| DES_key_schedule ks;
|
| - DES_set_key(
|
| - reinterpret_cast<const DES_cblock*>(key), &ks);
|
| + DES_set_key_unchecked(
|
| + reinterpret_cast<const_DES_cblock*>(const_cast<uint8*>(key)), &ks);
|
|
|
| - DES_ecb_encrypt(reinterpret_cast<const DES_cblock*>(src),
|
| + DES_ecb_encrypt(reinterpret_cast<const_DES_cblock*>(const_cast<uint8*>(src)),
|
| reinterpret_cast<DES_cblock*>(hash), &ks, DES_ENCRYPT);
|
| }
|
|
|
|
|