summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-13 17:31:46 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-13 17:31:46 -0400
commit8147661f94b31710393e4695b78fe54864a2c3e7 (patch)
tree06122368fe90d46a555eff585a56c6f3dcd9f5a3 /src/include
parent5e5a15b01b136b347d15bf7517ad2745a4e1b465 (diff)
downloadexchange-8147661f94b31710393e4695b78fe54864a2c3e7.tar.gz
exchange-8147661f94b31710393e4695b78fe54864a2c3e7.tar.bz2
exchange-8147661f94b31710393e4695b78fe54864a2c3e7.zip
test for use-after-free crash when getting keys
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_twister_testing_lib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_twister_testing_lib.h b/src/include/taler_twister_testing_lib.h
index fb0c352d..4ff3f42a 100644
--- a/src/include/taler_twister_testing_lib.h
+++ b/src/include/taler_twister_testing_lib.h
@@ -100,6 +100,23 @@ TALER_TESTING_cmd_modify_object_ul (const char *label,
/**
+ * 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).
*