Test a Finished message at the wrong time results in unexpected message
authorMatt Caswell <matt@openssl.org>
Mon, 19 Apr 2021 15:46:30 +0000 (16:46 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 28 Apr 2021 15:23:08 +0000 (16:23 +0100)
commite9b30d9f50a356b3b0a9d60e6fc877e08f68a40e
treea197d6346af07aa1ce93553dc336922367f033b0
parentf42e68dc473081393835b0ae7dad19d393ee589d
Test a Finished message at the wrong time results in unexpected message

We test that sending a Finished message instead of a ClientHello results
in an unexpected message error.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14930)
test/dtlstest.c