Fix a bug in CKE construction for PSK
authorMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 11:04:08 +0000 (12:04 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 14:09:02 +0000 (15:09 +0100)
commit4a424545c4f3148bfbf54270422e05177b4c392f
tree6af6cb59a993b9ae8c659b4e590c1d95d098c346
parentc13d2a5be720a8ab8f0cb67fc2750ed27eee3d9e
Fix a bug in CKE construction for PSK

In plain PSK we don't need to do anymore construction after the preamble.
We weren't detecting this case and treating it as an unknown cipher.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_clnt.c