projects
/
henge
/
webcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build system 3
[henge/webcc.git]
/
src
/
henge
/
core
/
auth.c
diff --git
a/src/core/auth.c
b/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)
--- a/
src/core/auth.c
+++ b/
src/henge/core/auth.c
@@
-8,7
+8,9
@@
#include <stddef.h>
#include <stdio.h>
#include <wolfssl/wolfcrypt/sha256.h>
#include <stddef.h>
#include <stdio.h>
#include <wolfssl/wolfcrypt/sha256.h>
+#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <emscripten.h>
+#endif
word32 str_len(const char*);
int auth_encrypt(int argc, char** argv);
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);
}
store_password(hash);
- free((void*) c_password);
+
//
free((void*) c_password);
return 0;
return 0;