build system 3
[henge/webcc.git] / src / henge / core / auth.c
similarity index 97%
rename from src/core/auth.c
rename to src/henge/core/auth.c
index c556abc..ce158b8 100644 (file)
@@ -8,7 +8,9 @@
 #include <stddef.h>
 #include <stdio.h>
 #include <wolfssl/wolfcrypt/sha256.h>
+#ifdef __EMSCRIPTEN__
 #include <emscripten.h>
+#endif
 
 word32 str_len(const char*);
 int auth_encrypt(int argc, char** argv);
@@ -67,7 +69,7 @@ auth_encrypt(int argc, char** argv)
   }
 
   store_password(hash);
-  free((void*) c_password);
+  //free((void*) c_password);
 
 
   return 0;