diff options
author | Matt Caswell <matt@openssl.org> | 2019-07-30 18:36:53 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-08-01 09:58:54 +0100 |
commit | 8453096ebf5308ef766e5e0b9c5682018c915976 (patch) | |
tree | 3a40322652744e145224dcc317cb995d7d4f9a9f | |
parent | e2e5abe47af60260e9a4247597e64a4e9d266a7a (diff) | |
download | openssl-8453096ebf5308ef766e5e0b9c5682018c915976.tar.gz |
Properly process the "Availablein" keyword for evp_test
The "Availablein" keyword is supposed to indicate which providers are
required in evp_test in order for a particular test to pass. Unfortunately
this didn't work. If the provider was available then the test failed.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9492)
-rw-r--r-- | test/evp_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/evp_test.c b/test/evp_test.c index 5f2bcc623a..2ae2c023a2 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -3055,8 +3055,7 @@ top: t->skip = 1; return 0; } - } - if (strcmp(pp->key, "Result") == 0) { + } else if (strcmp(pp->key, "Result") == 0) { if (t->expected_err != NULL) { TEST_info("Line %d: multiple result lines", t->s.curr); return 0; |