From 5511101ad86fdd5bc3ad4f27143e93ae14737bfe Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Fri, 16 Jun 2017 16:10:11 -0400 Subject: [PATCH] Add a missing break in test/shlibloadtest.c Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3661) --- test/shlibloadtest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))) -- 2.25.1