Source

Magnum / source / libs / magnum_crypto / source / magnum / crypto / SHA512Digester.cpp

Diff from to

File source/libs/magnum_crypto/source/magnum/crypto/SHA512Digester.cpp

   Kaya Kupferschmidt  (k.kupferschmidt@dimajix.de)
 */
 
+#include "magnum/openssl/OpenSSL.h"
 #include "magnum/crypto/SHA512Digester.h"
 
 
 namespace magnum { namespace crypto {
+using magnum::openssl::OpenSSL;
 
 
 /*--------------------------------------------------------------------------*/
 SHA512Digester::SHA512Digester()
 : AbstractDigester("SHA512")
 {
+    OpenSSL::startup();
     SHA512_Init(&m_Context);
 }