commit | d95c2312e02732e182897170b17ae08fd2859f54 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Nov 07 13:45:34 2013 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Nov 07 15:37:36 2013 -0800 |
tree | 73a279aadd9f43a6aa206f2cba0af4dc6503c770 | |
parent | 559c37049c486ff91c4a65b9b03603385447c953 [diff] [blame] |
Making sure code compiles with STL library that comes with OSX 10.9
diff --git a/src/sync-digest.h b/src/sync-digest.h index d980afb..7cef28f 100644 --- a/src/sync-digest.h +++ b/src/sync-digest.h
@@ -26,6 +26,7 @@ #include <boost/exception/all.hpp> #include <openssl/evp.h> #include <boost/cstdint.hpp> +#include <vector> namespace Sync { @@ -134,8 +135,7 @@ private: EVP_MD_CTX *m_context; - uint8_t *m_buffer; - uint32_t m_hashLength; + std::vector<uint8_t> m_buffer; }; namespace Error {