Skip to content

Commit

Permalink
Fix build; ssltest
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <[email protected]>
  • Loading branch information
richsalz authored and Rich Salz committed Mar 8, 2016
1 parent 5bb9e2b commit b76998b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ssltest.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
# include OPENSSL_UNISTD
#endif

SSL_CTX *s_ctx = NULL;
SSL_CTX *s_ctx2 = NULL;
static SSL_CTX *s_ctx = NULL;
static SSL_CTX *s_ctx2 = NULL;

/*
* There is really no standard for this, so let's assign something
Expand Down Expand Up @@ -1626,7 +1626,7 @@ int main(int argc, char *argv[])
rv = SSL_CONF_cmd(c_cctx, arg, argn);
/* If not recognised use server context */
if (rv == -2) {
SSL_CONF_cmd(s_cctx2, arg, argn);
(void)SSL_CONF_cmd(s_cctx2, arg, argn);
rv = SSL_CONF_cmd(s_cctx, arg, argn);
}
if (rv <= 0) {
Expand Down

0 comments on commit b76998b

Please sign in to comment.