summaryrefslogtreecommitdiffstats
path: root/test/bntest.c
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-31 14:27:31 +1000
committerPauli <pauli@openssl.org>2021-06-02 16:30:15 +1000
commitfd009d763a931c4cd01f5181a2b0801d205f782a (patch)
tree1a43eeda9efa766bba6b983737b84844ee77fbe8 /test/bntest.c
parentfb6ad22e36a1ade653f4b6881ddeee128e8b5001 (diff)
test: remove TODOs
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15539)
Diffstat (limited to 'test/bntest.c')
-rw-r--r--test/bntest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bntest.c b/test/bntest.c
index b6147395fd..c90db8f8e4 100644
--- a/test/bntest.c
+++ b/test/bntest.c
@@ -28,7 +28,7 @@
#endif
/*
- * Things in boring, not in openssl. TODO we should add them.
+ * Things in boring, not in openssl.
*/
#define HAVE_BN_PADDED 0
#define HAVE_BN_SQRT 0
@@ -1100,7 +1100,7 @@ static int file_sum(STANZA *s)
/*
* Test that the functions work when |r| and |a| point to the same BIGNUM,
* or when |r| and |b| point to the same BIGNUM.
- * TODO: Test where all of |r|, |a|, and |b| point to the same BIGNUM.
+ * There is no test for all of |r|, |a|, and |b| pointint to the same BIGNUM.
*/
if (!TEST_true(BN_copy(ret, a))
|| !TEST_true(BN_add(ret, ret, b))
@@ -1127,7 +1127,6 @@ static int file_sum(STANZA *s)
* documented as having. Note that these functions are frequently used
* when the prerequisites don't hold. In those cases, they are supposed
* to work as if the prerequisite hold, but we don't test that yet.
- * TODO: test that.
*/
if (!BN_is_negative(a) && !BN_is_negative(b) && BN_cmp(a, b) >= 0) {
if (!TEST_true(BN_uadd(ret, a, b))
@@ -1140,7 +1139,8 @@ static int file_sum(STANZA *s)
/*
* Test that the functions work when |r| and |a| point to the same
* BIGNUM, or when |r| and |b| point to the same BIGNUM.
- * TODO: Test where all of |r|, |a|, and |b| point to the same BIGNUM.
+ * There is no test for all of |r|, |a|, and |b| pointint to the same
+ * BIGNUM.
*/
if (!TEST_true(BN_copy(ret, a))
|| !TEST_true(BN_uadd(ret, ret, b))