diff options
author | lloyd <[email protected]> | 2010-10-07 16:44:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-07 16:44:23 +0000 |
commit | 907852104ba4ed95a33b13623160dc961d7e4cfd (patch) | |
tree | 7e823ca5f1eb1fb3cd7e056b5125c158e2c3d227 /src/utils | |
parent | 232b855507e28ff92476d60adb08cd05564a20a6 (diff) |
Drop debug.h, it didn't turn out to be that useful for most things,
especially now that the standalone hex encoder is around
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/debug.h | 37 | ||||
-rw-r--r-- | src/utils/info.txt | 1 |
2 files changed, 0 insertions, 38 deletions
diff --git a/src/utils/debug.h b/src/utils/debug.h deleted file mode 100644 index 11de7010e..000000000 --- a/src/utils/debug.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -* Internal-use debugging functions for Botan -* (C) 2009 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#ifndef BOTAN_DEBUG_H__ -#define BOTAN_DEBUG_H__ - -#include <botan/secmem.h> -#include <cstdio> - -namespace Botan { - -namespace Debug { - -inline void print_vec(const std::string& name, - const byte array[], size_t array_len) - { - std::printf("%s = ", name.c_str()); - for(size_t i = 0; i != array_len; ++i) - std::printf("%02X", array[i]); - std::printf("\n"); - } - -inline void print_vec(const std::string& name, - const MemoryRegion<byte>& vec) - { - print_vec(name, &vec[0], vec.size()); - } - -} - -} - -#endif diff --git a/src/utils/info.txt b/src/utils/info.txt index 9d8e6173c..fcf16bd5a 100644 --- a/src/utils/info.txt +++ b/src/utils/info.txt @@ -16,7 +16,6 @@ version.cpp <header:internal> assert.h bit_ops.h -debug.h mlock.h prefetch.h rounding.h |