Make CBC an option, step 3: individual ciphers
diff --git a/include/polarssl/xtea.h b/include/polarssl/xtea.h
index 4b435ae..7521993 100644
--- a/include/polarssl/xtea.h
+++ b/include/polarssl/xtea.h
@@ -83,6 +83,7 @@
const unsigned char input[8],
unsigned char output[8] );
+#if defined(POLARSSL_CIPHER_MODE_CBC)
/**
* \brief XTEA CBC cipher function
*
@@ -102,6 +103,7 @@
unsigned char iv[8],
const unsigned char *input,
unsigned char *output);
+#endif /* POLARSSL_CIPHER_MODE_CBC */
#ifdef __cplusplus
}