aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2017-06-16 16:10:11 -0400
committerRich Salz <rsalz@openssl.org>2017-06-16 16:11:06 -0400
commit5511101ad86fdd5bc3ad4f27143e93ae14737bfe (patch)
tree1c0686f34cb404238ad022f1b0747cd80eb7e1fc
parentf8baec39245ec434da00b690058792611cf08d47 (diff)
downloadopenssl-5511101ad86fdd5bc3ad4f27143e93ae14737bfe.tar.gz
Add a missing break in test/shlibloadtest.c
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3661)
-rw-r--r--test/shlibloadtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/shlibloadtest.c b/test/shlibloadtest.c
index 8c27bfc111..c57ca8f202 100644
--- a/test/shlibloadtest.c
+++ b/test/shlibloadtest.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -117,6 +117,7 @@ static int test_lib(void)
if (!TEST_true(shlib_load(path_crypto, &cryptolib))
|| !TEST_true(shlib_load(path_ssl, &ssllib)))
goto end;
+ break;
case SSL_FIRST:
if (!TEST_true(shlib_load(path_ssl, &ssllib))
|| !TEST_true(shlib_load(path_crypto, &cryptolib)))
@@ -158,6 +159,7 @@ static int test_lib(void)
if (!TEST_true(shlib_close(cryptolib))
|| !TEST_true(shlib_close(ssllib)))
goto end;
+ break;
case SSL_FIRST:
if (!TEST_true(shlib_close(ssllib))
|| !TEST_true(shlib_close(cryptolib)))