diff options
author | lloyd <[email protected]> | 2012-05-26 14:25:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-26 14:25:05 +0000 |
commit | c13a1a1a961f508c06ea9e1f04cb0652b169e32e (patch) | |
tree | 0d64f719cd1aa1d0947cb379b0f331c3cd5814ea /checks/validate.cpp | |
parent | 9031c9098d0bf5416251fbba9e84246cce8be1f5 (diff) |
Plain hex_decode now returns a std::vector, use hex_decode_locked to
get a secure_vector.
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r-- | checks/validate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp index bae5e857f..307a4e0d5 100644 --- a/checks/validate.cpp +++ b/checks/validate.cpp @@ -492,7 +492,7 @@ bool failed_test(const std::string& algo, pipe.append(test); pipe.append(new Botan::Hex_Encoder); - secure_vector<byte> data = Botan::hex_decode(in); + std::vector<byte> data = Botan::hex_decode(in); const byte* data_ptr = &data[0]; // this can help catch errors with buffering, etc |