summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-03-08 15:38:30 +0100
committerRich Salz <rsalz@openssl.org>2016-03-08 15:48:13 +0100
commitb76998b86c3f63bea7f8b85c8b62fda91fb8f4b7 (patch)
tree06205ae8e28cfde8fce16595287eeb010f2d3816 /test
parentTweak some more information in INSTALL (diff)
downloadopenssl-b76998b86c3f63bea7f8b85c8b62fda91fb8f4b7.tar.xz
openssl-b76998b86c3f63bea7f8b85c8b62fda91fb8f4b7.zip
Fix build; ssltest
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/ssltest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ssltest.c b/test/ssltest.c
index a8918db7bd..71cc126d1c 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -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
@@ -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) {