From: Bernd Edlinger Date: Fri, 16 Jun 2017 20:10:11 +0000 (-0400) Subject: Add a missing break in test/shlibloadtest.c X-Git-Tag: OpenSSL_1_1_1-pre1~1297 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5511101ad86fdd5bc3ad4f27143e93ae14737bfe;p=oweals%2Fopenssl.git Add a missing break in test/shlibloadtest.c Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3661) --- 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)))