[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Sun May 21 01:22:07 UTC 2017
The branch master has been updated
via e2c1aa1ba3bc48eaaaed02c6a9a227d765e42fcb (commit)
from c8e89d58a5d44b9dd657d6d13a5a10d1d4d30733 (commit)
- Log -----------------------------------------------------------------
commit e2c1aa1ba3bc48eaaaed02c6a9a227d765e42fcb
Author: Andy Polyakov <appro at openssl.org>
Date: Fri May 19 19:37:35 2017 +0200
test/test_test.c: fix wrong BN test [and rearrange tests a little bit].
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3502)
-----------------------------------------------------------------------
Summary of changes:
test/test_test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/test_test.c b/test/test_test.c
index 7a5079a..116dc73 100644
--- a/test/test_test.c
+++ b/test/test_test.c
@@ -308,7 +308,7 @@ static int test_bignum(void)
| !TEST(0, TEST_BN_odd(a))
| !TEST(1, TEST_BN_eq(b, c))
| !TEST(0, TEST_BN_eq(a, b))
- | !TEST(1, TEST_BN_ne(NULL, c))
+ | !TEST(0, TEST_BN_ne(NULL, c))
| !TEST(1, TEST_int_eq(BN_dec2bn(&b, "1"), 1))
| !TEST(1, TEST_BN_eq_word(b, 1))
| !TEST(1, TEST_BN_eq_one(b))
@@ -494,8 +494,8 @@ void register_tests(void)
ADD_TEST(test_memory);
ADD_TEST(test_memory_overflow);
ADD_TEST(test_bignum);
- ADD_TEST(test_long_output);
ADD_TEST(test_long_bignum);
+ ADD_TEST(test_long_output);
ADD_TEST(test_messages);
ADD_TEST(test_single_eval);
}
More information about the openssl-commits
mailing list