X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Ftestutil%2Ftu_local.h;fp=test%2Ftestutil%2Ftu_local.h;h=a42f2c3ee777fae9de34678fc713ee64431db7b0;hp=ad50fca39e6cfb7278a1949982ff21dfef8319f9;hb=3791646202bb4da21992b0aecae253d394507a9e;hpb=5511101ad86fdd5bc3ad4f27143e93ae14737bfe diff --git a/test/testutil/tu_local.h b/test/testutil/tu_local.h index ad50fca39e..a42f2c3ee7 100644 --- a/test/testutil/tu_local.h +++ b/test/testutil/tu_local.h @@ -8,6 +8,36 @@ */ #include /* size_t */ +#include int subtest_level(void); int openssl_error_cb(const char *str, size_t len, void *u); + +void test_fail_message_prefix(const char *prefix, const char *file, + int line, const char *type, + const char *left, const char *right, + const char *op); + +void test_fail_string_message(const char *prefix, const char *file, + int line, const char *type, + const char *left, const char *right, + const char *op, const char *m1, size_t l1, + const char *m2, size_t l2); + +void test_fail_bignum_message(const char *prefix, const char *file, + int line, const char *type, + const char *left, const char *right, + const char *op, + const BIGNUM *bn1, const BIGNUM *bn2); +void test_fail_bignum_mono_message(const char *prefix, const char *file, + int line, const char *type, + const char *left, const char *right, + const char *op, const BIGNUM *bn); + +void test_fail_memory_message(const char *prefix, const char *file, + int line, const char *type, + const char *left, const char *right, + const char *op, + const unsigned char *m1, size_t l1, + const unsigned char *m2, size_t l2); +