diff options
author | lloyd <[email protected]> | 2010-09-03 13:18:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-03 13:18:54 +0000 |
commit | 449c9b9467c3e8dc08015094100162aea209623e (patch) | |
tree | cef38093356e6418b46640b43505f861db139ffe /checks/validate.cpp | |
parent | 466548a644640fc73b24c8a4185a317f780a698f (diff) |
Use the standalone version of the hex decoder instead of the wrapper that
previously existed in misc.cpp that emulated it via a pipe and filter.
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r-- | checks/validate.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp index 6e7a2e553..e1d5117a5 100644 --- a/checks/validate.cpp +++ b/checks/validate.cpp @@ -96,7 +96,6 @@ bool failed_test(const std::string&, std::vector<std::string>, bool, bool, std::vector<std::string> parse(const std::string&); void strip(std::string&); -Botan::SecureVector<byte> decode_hex(const std::string&); u32bit do_validation_tests(const std::string& filename, RandomNumberGenerator& rng, @@ -300,7 +299,7 @@ bool failed_test(const std::string& algo, pipe.append(test); pipe.append(new Botan::Hex_Encoder); - Botan::SecureVector<byte> data = decode_hex(in); + Botan::SecureVector<byte> data = Botan::hex_decode(in); const byte* data_ptr = data; // this can help catch errors with buffering, etc |