[openssl-commits] [openssl] master update
paul.dale at oracle.com
paul.dale at oracle.com
Mon Aug 21 00:47:27 UTC 2017
The branch master has been updated
via 045fe7313a672630881df277321052442bfaca73 (commit)
from 72460149dbb6c13b073c2ac8b70df816ef362679 (commit)
- Log -----------------------------------------------------------------
commit 045fe7313a672630881df277321052442bfaca73
Author: Pauli <paul.dale at oracle.com>
Date: Mon Aug 21 10:37:34 2017 +1000
Remove double error messages
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4204)
-----------------------------------------------------------------------
Summary of changes:
test/ssl_test_ctx.c | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/test/ssl_test_ctx.c b/test/ssl_test_ctx.c
index 4bb4763..c9b0c43 100644
--- a/test/ssl_test_ctx.c
+++ b/test/ssl_test_ctx.c
@@ -756,30 +756,26 @@ SSL_TEST_CTX *SSL_TEST_CTX_create(const CONF *conf, const char *test_section)
/* Subsections */
if (strcmp(option->name, "client") == 0) {
- if (!parse_client_options(&ctx->extra.client, conf,
- option->value))
+ if (!parse_client_options(&ctx->extra.client, conf, option->value))
goto err;
} else if (strcmp(option->name, "server") == 0) {
- if (!TEST_true(parse_server_options(&ctx->extra.server, conf,
- option->value)))
+ if (!parse_server_options(&ctx->extra.server, conf, option->value))
goto err;
} else if (strcmp(option->name, "server2") == 0) {
- if (!TEST_true(parse_server_options(&ctx->extra.server2, conf,
- option->value)))
+ if (!parse_server_options(&ctx->extra.server2, conf, option->value))
goto err;
} else if (strcmp(option->name, "resume-client") == 0) {
- if (!TEST_true(parse_client_options(&ctx->resume_extra.client, conf,
- option->value)))
+ if (!parse_client_options(&ctx->resume_extra.client, conf,
+ option->value))
goto err;
} else if (strcmp(option->name, "resume-server") == 0) {
- if (!TEST_true(parse_server_options(&ctx->resume_extra.server, conf,
- option->value)))
+ if (!parse_server_options(&ctx->resume_extra.server, conf,
+ option->value))
goto err;
} else if (strcmp(option->name, "resume-server2") == 0) {
if (!parse_server_options(&ctx->resume_extra.server2, conf,
option->value))
goto err;
-
} else {
for (j = 0; j < OSSL_NELEM(ssl_test_ctx_options); j++) {
if (strcmp(option->name, ssl_test_ctx_options[j].name) == 0) {
More information about the openssl-commits
mailing list