Add support for SHA2-512 hash on Qt4 builds 110/head
authorMichael Marley <michael@michaelmarley.com>
Tue, 3 Mar 2015 01:31:02 +0000 (20:31 -0500)
committerMichael Marley <michael@michaelmarley.com>
Tue, 3 Mar 2015 01:31:02 +0000 (20:31 -0500)
commit07b0587b932ccbfb0d93f59109b23b97ba85f4cf
treeaa837788b49e0f0dc7c86788b2d3a6086fa0521a
parentd8b10ef03c8edcec9e81ee126fd5a83e350b1571
Add support for SHA2-512 hash on Qt4 builds

Qt4 doesn't support anything higher than SHA1 in
QCryptographicHash, so it is necessary to include a fallback.  This
bundles sha512.c from PolarSSL/mbed TLS.  It is only used for Qt4
builds and does not require a dependency on external libraries that
might be hard to compile on Windows® or Mac OSX®.  It can be
removed once Qt4 is no longer supported.
3rdparty/sha512/sha512.c [new file with mode: 0644]
3rdparty/sha512/sha512.h [new file with mode: 0644]
src/common/CMakeLists.txt
src/core/storage.cpp
src/core/storage.h