Ensure the CertStatus message adds a DTLS message header where needed
authorMatt Caswell <matt@openssl.org>
Tue, 30 Aug 2016 10:32:49 +0000 (11:32 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 30 Aug 2016 10:32:49 +0000 (11:32 +0100)
commitf046afb0663fc4514f7fc5d1724439caa6858932
treefcf1606ac2af9bd3946f6f77f49c07793449b75b
parentee4cdb7fdbdc46f931cb6e2eca109cc92832eb33
Ensure the CertStatus message adds a DTLS message header where needed

The function tls_construct_cert_status() is called by both TLS and DTLS
code. However it only ever constructed a TLS message header for the message
which obviously failed in DTLS.

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