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 20:14:29 +0000 (21:14 +0100)
commit06314c029d6b1e2d184546b059d827bb7040f5d4
tree65ea3771a697fd8f53f6eae7c3a8cde01a9ead45
parentb2d10958a3f2ffcf71d075786ce0b5f88ba4d57c
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>
(cherry picked from commit f046afb0663fc4514f7fc5d1724439caa6858932)
ssl/statem/statem_srvr.c