From c13a1a1a961f508c06ea9e1f04cb0652b169e32e Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 26 May 2012 14:25:05 +0000 Subject: Plain hex_decode now returns a std::vector, use hex_decode_locked to get a secure_vector. --- checks/validate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checks/validate.cpp') 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 data = Botan::hex_decode(in); + std::vector data = Botan::hex_decode(in); const byte* data_ptr = &data[0]; // this can help catch errors with buffering, etc -- cgit v1.2.3