diff options
author | David Benjamin <davidben@chromium.org> | 2015-04-22 20:50:28 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-05-05 02:05:17 +0300 |
commit | 22ccc2d8f1e0a3d19b98324d502322db8d89624f (patch) | |
tree | 634d6618b5a8d25cbddb5e080840f09a58657027 /crypto/bn/sqrt.c | |
parent | de95d262ab448f8582b8192c3a94e9c10acdb771 (diff) |
Remove unnecessary NULL checks, part 1.
First batch of the alphabet.
Change-Id: If4e60f4fbb69e04eb4b70aa1b2240e329251bfa5
Reviewed-on: https://boringssl-review.googlesource.com/4514
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/bn/sqrt.c')
-rw-r--r-- | crypto/bn/sqrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/sqrt.c b/crypto/bn/sqrt.c index 07041f9c..e71a8181 100644 --- a/crypto/bn/sqrt.c +++ b/crypto/bn/sqrt.c @@ -420,7 +420,7 @@ vrfy: end: if (err) { - if (ret != NULL && ret != in) { + if (ret != in) { BN_clear_free(ret); } ret = NULL; |