Mercurial > hg > orthanc-object-storage
diff Common/EncryptionHelpers.h @ 30:662b9d3f217d
fix missing definition of "byte" from CryptoPP
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 03 Oct 2020 10:39:45 +0200 |
parents | 319d41a22de4 |
children | f55b2afdf53d |
line wrap: on
line diff
--- a/Common/EncryptionHelpers.h Tue Sep 08 10:36:12 2020 +0200 +++ b/Common/EncryptionHelpers.h Sat Oct 03 10:39:45 2020 +0200 @@ -19,7 +19,7 @@ #include <memory.h> #include <cryptopp/secblock.h> -#include "cryptopp/osrng.h" +#include <cryptopp/osrng.h> #include <boost/thread/mutex.hpp> #include <MultiThreading/Semaphore.h> @@ -100,7 +100,7 @@ public: - static std::string ToHexString(const byte* block, size_t size); + static std::string ToHexString(const void* block, size_t size); static std::string ToHexString(const std::string& block); static std::string ToHexString(const CryptoPP::SecByteBlock& block); static std::string ToString(const CryptoPP::SecByteBlock& block);