summaryrefslogtreecommitdiffstats
path: root/sys/geom/eli/g_eli_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/eli/g_eli_crypto.c')
-rw-r--r--sys/geom/eli/g_eli_crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/eli/g_eli_crypto.c b/sys/geom/eli/g_eli_crypto.c
index c26b367..b247efc 100644
--- a/sys/geom/eli/g_eli_crypto.c
+++ b/sys/geom/eli/g_eli_crypto.c
@@ -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;
OpenPOWER on IntegriCloud