A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Need distrib.cmake for update_xml file and update nsis script for headers.
[simgrid.git]
/
src
/
xbt
/
xbt_sha.c
diff --git
a/src/xbt/xbt_sha.c
b/src/xbt/xbt_sha.c
index
29016d9
..
f74500a
100644
(file)
--- a/
src/xbt/xbt_sha.c
+++ b/
src/xbt/xbt_sha.c
@@
-195,8
+195,8
@@
static void test_sha(const char *clear, const char *hashed)
char hash[41];
xbt_sha(clear, hash);
char hash[41];
xbt_sha(clear, hash);
- xbt_test_add
1
("==== Test with '%s'", clear);
- xbt_test_assert
3
(!memcmp(hash, hashed, 40), "Wrong sha: %40s!=%40s (%s)",
+ xbt_test_add("==== Test with '%s'", clear);
+ xbt_test_assert(!memcmp(hash, hashed, 40), "Wrong sha: %40s!=%40s (%s)",
hash, hashed, mycmp(hash, hashed, 40));
}
hash, hashed, mycmp(hash, hashed, 40));
}