X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/a4c6c9bad5c2965cf970071de0cb2f3179c22b50..a47ab75afd236ddb02ee467210cbdeeeba9dbff6:/crypto-test.c diff --git a/crypto-test.c b/crypto-test.c index 137f7a3..cb081de 100644 --- a/crypto-test.c +++ b/crypto-test.c @@ -146,6 +146,11 @@ void trivial_regty_release(union regval *v) { ; } uint64_t now_global; struct timeval tv_now_global; +/* Bletch. sha512.c wants to drag in the world. */ +void *safe_malloc(size_t size, const char *message) { return xmalloc(size); } +list_t *new_closure(closure_t *cl) { abort(); } +void dict_add(dict_t *dict, cstring_t key, list_t *val) { abort(); } + /* Bletch. util.c is a mess of layers. */ int consttime_memeq(const void *s1in, const void *s2in, size_t n) {