diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-05 18:05:23 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-05 18:05:23 +0900 |
| commit | 0c162dfbfb4a875fac9374c65cf93382ff9ce4ed (patch) | |
| tree | 6fbc9cc204305017438d9511db631b9b2e7fc538 /test/TestUtil.h | |
| parent | 6ea1b68db186036e9f05c06915f8c4bd757c3a25 (diff) | |
Made util::fromHex and base32::decode function template
Diffstat (limited to 'test/TestUtil.h')
| -rw-r--r-- | test/TestUtil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TestUtil.h b/test/TestUtil.h index 1dd010ee..9dc66b87 100644 --- a/test/TestUtil.h +++ b/test/TestUtil.h @@ -42,6 +42,8 @@ Cookie createCookie const std::string& path, bool secure); +std::string fromHex(const std::string& s); + #ifdef ENABLE_MESSAGE_DIGEST // Returns hex digest of contents of file denoted by filename. std::string fileHexDigest |
