summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-12-02 15:52:21 +0000
committerHugo Landau <hlandau@openssl.org>2023-02-22 05:34:04 +0000
commit6d1f6933595ea66c2e8367fef01e2824b4f3ce6b (patch)
treeb2768eb5be6363d564e5f7a1d9058414bbd998ef /include
parentd03fe5de8d1b78dd8190a9bce04bb228719b9947 (diff)
Implement the QUIC Fault injector support for TLS handshake messages
Provide helper functions to listen for TLS handshake messages being sent, as well as the ability to change the contents of those messages as well as resizing them. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20030)
Diffstat (limited to 'include')
-rw-r--r--include/internal/statem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/statem.h b/include/internal/statem.h
index d078712337..93698c9678 100644
--- a/include/internal/statem.h
+++ b/include/internal/statem.h
@@ -77,7 +77,7 @@ typedef enum {
CON_FUNC_DONT_SEND
} CON_FUNC_RETURN;
-typedef int (*ossl_statem_mutate_handshake_cb)(unsigned char *msgin,
+typedef int (*ossl_statem_mutate_handshake_cb)(const unsigned char *msgin,
size_t inlen,
unsigned char **msgout,
size_t *outlen,