Fix two issues with AES-CCM KTLS tests.
authorVadim Fedorenko <vadimjunk@gmail.com>
Fri, 31 Jul 2020 18:21:36 +0000 (11:21 -0700)
committerMatt Caswell <matt@openssl.org>
Mon, 31 Aug 2020 08:34:19 +0000 (09:34 +0100)
commitab114c6ddef52384c3c5d579847b989284f51dfc
treeebe19238c5df268a3b477eeb640e9f66acea36d4
parent18efb630169a5c2c58a77b0b67fc707a87cb8b93
Fix two issues with AES-CCM KTLS tests.

- Apply the cipher list to the server context as well as the client
  context.  The tests still worked for AES-GCM cipher suites as those
  are in the default list of ciphers.  AES-CCM cipher suites are not
  in the default list and require the cipher list to be set.

- Use the correct cipher name for AES-CCM.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12111)
test/sslapitest.c