diff options
Diffstat (limited to 'cryptopp-bytes.patch')
-rw-r--r-- | cryptopp-bytes.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cryptopp-bytes.patch b/cryptopp-bytes.patch new file mode 100644 index 000000000000..d34e1553313f --- /dev/null +++ b/cryptopp-bytes.patch @@ -0,0 +1,16 @@ +diff --git cryptopp_inc.h cryptopp_inc.h +index 1295d7c..51ab406 100644 +--- cryptopp_inc.h ++++ cryptopp_inc.h +@@ -44,4 +44,9 @@ + #include CRYPTOPP_INCLUDE_ECCRYPTO + #include CRYPTOPP_INCLUDE_OIDS + #include CRYPTOPP_INCLUDE_DSA +-#endif +\ No newline at end of file ++#endif ++#if (CRYPTOPP_VERSION >= 600) && (__cplusplus >= 201103L) ++ using byte = CryptoPP::byte; ++#else ++ typedef unsigned char byte; ++#endif |