aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encrypt.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-28 16:04:33 +0000
committerlloyd <[email protected]>2008-09-28 16:04:33 +0000
commit4a04f965bd43bd591c8973ed025dc312823f1607 (patch)
tree30016b6e1ff6188dbcc0e183a7ae53b60051c960 /doc/examples/encrypt.cpp
parent6edc83ddef93bddf70f1b259d80b104bf14524c2 (diff)
Modularize the Adler32 checksum in checksums/adler32
Add a new option --disable-modules which allows for disabling any set of modules that normally would be autoloaded. Rename the Botan feature test macros from BOTAN_EXT_BLAH to BOTAN_HAS_BLAH, which will be much more sensible especially when everything is done in this fashion (eg, BOTAN_HAS_BLOWFISH or BOTAN_HAS_RSA, etc)
Diffstat (limited to 'doc/examples/encrypt.cpp')
-rw-r--r--doc/examples/encrypt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/encrypt.cpp b/doc/examples/encrypt.cpp
index 7c8649004..959461b63 100644
--- a/doc/examples/encrypt.cpp
+++ b/doc/examples/encrypt.cpp
@@ -26,7 +26,7 @@ This file is in the public domain
#include <botan/botan.h>
-#if defined(BOTAN_EXT_COMPRESSOR_ZLIB)
+#if defined(BOTAN_HAS_COMPRESSOR_ZLIB)
#include <botan/zlib.h>
#endif
@@ -140,7 +140,7 @@ int main(int argc, char* argv[])
new Base64_Encoder
),
new Chain(
-#ifdef BOTAN_EXT_COMPRESSOR_ZLIB
+#ifdef BOTAN_HAS_COMPRESSOR_ZLIB
new Zlib_Compression,
#endif
get_cipher(algo + "/CBC", bc_key, iv, ENCRYPTION),