On some arches, openssl is built with OPENSSL_NO_CAMELLIA, so the
code here needs to depend on that too.
This commit is contained in:
parent
ec0f8069c4
commit
1785efbd75
@ -158,6 +158,7 @@ g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize,
|
||||
case CRYPTO_BLF_CBC:
|
||||
type = EVP_bf_cbc();
|
||||
break;
|
||||
#ifndef OPENSSL_NO_CAMELLIA
|
||||
case CRYPTO_CAMELLIA_CBC:
|
||||
switch (keysize) {
|
||||
case 128:
|
||||
@ -173,6 +174,7 @@ g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize,
|
||||
return (EINVAL);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case CRYPTO_3DES_CBC:
|
||||
type = EVP_des_ede3_cbc();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user