artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be7f10
)
Remove redundant NULL checks
author
tb
<tb@openbsd.org>
Wed, 29 Dec 2021 23:00:32 +0000
(23:00 +0000)
committer
tb
<tb@openbsd.org>
Wed, 29 Dec 2021 23:00:32 +0000
(23:00 +0000)
CID 345154
regress/lib/libcrypto/bn/general/bntest.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/bn/general/bntest.c
b/regress/lib/libcrypto/bn/general/bntest.c
index
4f08dc4
..
53cce74
100644
(file)
--- a/
regress/lib/libcrypto/bn/general/bntest.c
+++ b/
regress/lib/libcrypto/bn/general/bntest.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bntest.c,v 1.2
3 2021/11/25 11:07:17
tb Exp $ */
+/* $OpenBSD: bntest.c,v 1.2
4 2021/12/29 23:00:32
tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-2282,8
+2282,6
@@
test_sqrt(BIO *bp, BN_CTX *ctx)
goto err;
if ((r = BN_new()) == NULL)
goto err;
- if (a == NULL || p == NULL || r == NULL)
- goto err;
if ((cb = BN_GENCB_new()) == NULL)
goto err;