mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-22 15:16:58 +00:00
darwin: applecc: fix compile warnings
This commit is contained in:
@@ -108,6 +108,7 @@ static const CCAlgorithm supported_ciphers_applecc[CIPHER_NUM] =
|
||||
kCCAlgorithmInvalid
|
||||
};
|
||||
|
||||
#ifdef USE_CRYPTO_POLARSSL
|
||||
static const int supported_ciphers_iv_size[CIPHER_NUM] = {
|
||||
0, 0, 16, 16, 16, 8, 16, 16, 16, 8, 8, 8, 8, 16
|
||||
};
|
||||
@@ -116,6 +117,7 @@ static const int supported_ciphers_key_size[CIPHER_NUM] = {
|
||||
0, 16, 16, 24, 32, 16, 16, 24, 32, 16, 8, 16, 16, 16
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static int random_compare(const void *_x, const void *_y, uint32_t i, uint64_t a)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user