diff options
author | Matt Caswell <matt@openssl.org> | 2018-02-26 12:26:14 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-03-14 09:51:20 +0000 |
commit | 3295d2423889496e0933b3f9af6dc692c9f9a8f2 (patch) | |
tree | e1dbd6c2cdf978d1211970f19ec295eb6ae13b0e /test/recordlentest.c | |
parent | 95ea8da1768bf457b021f07cde9a6330827dc8a1 (diff) | |
download | openssl-new-3295d2423889496e0933b3f9af6dc692c9f9a8f2.tar.gz |
Use the TLSv1.3 record header as AAD
As of TLSv1.3 draft-25 the record header data must be used as AAD
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/5604)
Diffstat (limited to 'test/recordlentest.c')
-rw-r--r-- | test/recordlentest.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/recordlentest.c b/test/recordlentest.c index d0941ca416..824c09fc34 100644 --- a/test/recordlentest.c +++ b/test/recordlentest.c @@ -157,11 +157,7 @@ static int test_record_overflow(int idx) overf_expected = 0; } - if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK - || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) - recversion = TLS1_VERSION; - else - recversion = TLS1_2_VERSION; + recversion = TLS1_2_VERSION; if (!TEST_true(write_record(serverbio, len, SSL3_RT_APPLICATION_DATA, recversion))) |