Fix error in ssltest
Compiling ssltest with some compilers using --strict-warnings results in complaints about an unused result. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
This commit is contained in:
parent
a8a355402c
commit
b2d6aed499
@ -1626,7 +1626,8 @@ int main(int argc, char *argv[])
|
|||||||
rv = SSL_CONF_cmd(c_cctx, arg, argn);
|
rv = SSL_CONF_cmd(c_cctx, arg, argn);
|
||||||
/* If not recognised use server context */
|
/* If not recognised use server context */
|
||||||
if (rv == -2) {
|
if (rv == -2) {
|
||||||
(void)SSL_CONF_cmd(s_cctx2, arg, argn);
|
rv = SSL_CONF_cmd(s_cctx2, arg, argn);
|
||||||
|
if (rv > 0)
|
||||||
rv = SSL_CONF_cmd(s_cctx, arg, argn);
|
rv = SSL_CONF_cmd(s_cctx, arg, argn);
|
||||||
}
|
}
|
||||||
if (rv <= 0) {
|
if (rv <= 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user