aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encrypt.cpp
diff options
context:
space:
mode:
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),