Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #811
Original patch by Frank Morgner. Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@akamai.com> GH: #456