The function ssl_get_min_max_version() can fail
authorMatt Caswell <matt@openssl.org>
Fri, 9 Feb 2018 18:03:08 +0000 (18:03 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 12 Feb 2018 10:06:39 +0000 (10:06 +0000)
commit1d0c08b4963f5f7e1d1855e360417a11973d8455
treed7b74082b737242ebba6ebc167d7e1f1e2797621
parent7e70213fe3c79461ad3d776a8de1a5beff4bea78
The function ssl_get_min_max_version() can fail

We should always check the return code.

This fixes a coverity issue.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5308)
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/statem_clnt.c
ssl/t1_lib.c