mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
vere: update argon2u dependency to urbit/argon2@a4c1e3f7
This commit is contained in:
parent
fb2ee65d59
commit
35593949c3
@ -9,10 +9,10 @@
|
||||
},
|
||||
"owner": "urbit",
|
||||
"repo": "argon2",
|
||||
"rev": "4da94a611ee62bad87ab2b131ffda3bcc0723d9c",
|
||||
"sha256": "0bqq1hg367l4jkb6cqhxlblpvdbwz3l586qsfakwzfd9wdvnm3yc",
|
||||
"rev": "a4c1e3f7138c2e577376beb99f964cf71e1c8b1b",
|
||||
"sha256": "1j8a15fx2kn5aa3scmb5qnsfk627kfvsq5ppz9j0pv2d1xck527x",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/urbit/argon2/archive/4da94a611ee62bad87ab2b131ffda3bcc0723d9c.tar.gz",
|
||||
"url": "https://github.com/urbit/argon2/archive/a4c1e3f7138c2e577376beb99f964cf71e1c8b1b.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"ed25519": {
|
||||
|
@ -1,22 +0,0 @@
|
||||
diff --git a/src/encoding.c b/src/encoding.c
|
||||
index 73c36f5..753a1e1 100644
|
||||
--- a/src/encoding.c
|
||||
+++ b/src/encoding.c
|
||||
@@ -370,7 +370,7 @@ int decode_string(argon2_context *ctx, const char *str, argon2_type type) {
|
||||
#undef BIN
|
||||
}
|
||||
|
||||
-void itoa(int i, char b[]){
|
||||
+static void encode_decimal(int i, char b[]){
|
||||
#ifdef ARGON2_JS
|
||||
|
||||
// because this generates WASM error:
|
||||
@@ -416,7 +416,7 @@ int encode_string(char *dst, size_t dst_len, argon2_context *ctx,
|
||||
#define SX(x) \
|
||||
do { \
|
||||
char tmp[30]; \
|
||||
- itoa(x, tmp); \
|
||||
+ encode_decimal(x, tmp); \
|
||||
SS(tmp); \
|
||||
} while ((void)0, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user