version 0.3.33
[fms.git] / src / fmsapp.cpp
index 2daf6c8..89bb9d7 100644 (file)
        #include <unistd.h>\r
 #endif\r
 \r
+#ifdef FROST_SUPPORT\r
+       #include <tommath.h>\r
+       #include <tomcrypt.h>\r
+#endif\r
+\r
 FMSApp::FMSApp():m_displayhelp(false),m_showoptions(false),m_setoption(false),m_logtype("file"),m_workingdirectory("")\r
 {\r
        // get current working dir so we can go to it later\r
@@ -210,6 +215,11 @@ int FMSApp::main(const std::vector<std::string> &args)
                        m_db->Execute("VACUUM;");\r
                }\r
 \r
+#ifdef FROST_SUPPORT\r
+               ltc_mp=ltm_desc;\r
+               register_hash(&sha1_desc);\r
+#endif\r
+\r
                StartThreads();\r
 \r
                if(isInteractive()==true)\r