diff options
author | Matt Caswell <matt@openssl.org> | 2022-06-17 16:37:24 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-21 10:49:52 +0100 |
commit | 713f6a14e2510b9de56559f2433da3179fdc9c84 (patch) | |
tree | 08a875d7959cbd345cd6b6a4a2e3c2e3c07329bf /test/helpers/ssltestlib.h | |
parent | 01c7d59f0358ec6cf3dd45012a2dc8abee670f3e (diff) |
Add a DTLS next epoch test
Test that if we receive a packet from the next epoch, we can buffer it
and still use it.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18601)
(cherry picked from commit e1c153d31d4f913ebe2202a4bc20305919274d1f)
Diffstat (limited to 'test/helpers/ssltestlib.h')
-rw-r--r-- | test/helpers/ssltestlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helpers/ssltestlib.h b/test/helpers/ssltestlib.h index 1f9e803ffc..93c5316d7a 100644 --- a/test/helpers/ssltestlib.h +++ b/test/helpers/ssltestlib.h @@ -49,6 +49,7 @@ void bio_s_always_retry_free(void); #define MEMPACKET_CTRL_GET_DROP_REC (3 << 15) #define MEMPACKET_CTRL_SET_DUPLICATE_REC (4 << 15) +int mempacket_swap_epoch(BIO *bio); int mempacket_swap_recent(BIO *bio); int mempacket_test_inject(BIO *bio, const char *in, int inl, int pktnum, int type); |