aboutsummaryrefslogtreecommitdiffstats
path: root/checks/dolook.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 /checks/dolook.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 'checks/dolook.cpp')
-rw-r--r--checks/dolook.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/checks/dolook.cpp b/checks/dolook.cpp
index 854c770b7..5757c6042 100644
--- a/checks/dolook.cpp
+++ b/checks/dolook.cpp
@@ -4,15 +4,15 @@
#include <botan/lookup.h>
#include <botan/filters.h>
-#ifdef BOTAN_EXT_COMPRESSOR_BZIP2
+#ifdef BOTAN_HAS_COMPRESSOR_BZIP2
#include <botan/bzip2.h>
#endif
-#ifdef BOTAN_EXT_COMPRESSOR_GZIP
+#ifdef BOTAN_HAS_COMPRESSOR_GZIP
#include <botan/gzip.h>
#endif
-#ifdef BOTAN_EXT_COMPRESSOR_ZLIB
+#ifdef BOTAN_HAS_COMPRESSOR_ZLIB
#include <botan/zlib.h>
#endif
@@ -104,21 +104,21 @@ Filter* lookup_encoder(const std::string& algname)
if(algname == "Base64_Decode")
return new Base64_Decoder;
-#ifdef BOTAN_EXT_COMPRESSOR_BZIP2
+#ifdef BOTAN_HAS_COMPRESSOR_BZIP2
if(algname == "Bzip_Compression")
return new Bzip_Compression(9);
if(algname == "Bzip_Decompression")
return new Bzip_Decompression;
#endif
-#ifdef BOTAN_EXT_COMPRESSOR_GZIP
+#ifdef BOTAN_HAS_COMPRESSOR_GZIP
if(algname == "Gzip_Compression")
return new Gzip_Compression(9);
if(algname == "Gzip_Decompression")
return new Gzip_Decompression;
#endif
-#ifdef BOTAN_EXT_COMPRESSOR_ZLIB
+#ifdef BOTAN_HAS_COMPRESSOR_ZLIB
if(algname == "Zlib_Compression")
return new Zlib_Compression(9);
if(algname == "Zlib_Decompression")