From 8147661f94b31710393e4695b78fe54864a2c3e7 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Mon, 13 Jul 2020 17:31:46 -0400 Subject: test for use-after-free crash when getting keys --- src/include/taler_twister_testing_lib.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_twister_testing_lib.h b/src/include/taler_twister_testing_lib.h index fb0c352df..4ff3f42a8 100644 --- a/src/include/taler_twister_testing_lib.h +++ b/src/include/taler_twister_testing_lib.h @@ -99,6 +99,23 @@ TALER_TESTING_cmd_modify_object_ul (const char *label, const char *value); +/** + * Create a "modify header" CMD. This command instructs + * the twister to modify a header in the next HTTP response. + * + * @param label command label + * @param config_filename configuration filename. + * @param header name of the header to modify. + * @param value value to set the header to. + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_modify_header_dl (const char *label, + const char *config_filename, + const char *path, + const char *value); + + /** * Create a "malform response" CMD. This command makes * the next response randomly malformed (by truncating it). -- cgit v1.2.3