Reviewed-by: Tim Hudson <tjh@openssl.org> GH: #7033
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2318
Reviewed-by: Richard Levitte <levitte@openssl.org> GH: #2090