diff options
author | Laszlo Papp <djszapi@archlinux.us> | 2014-08-18 17:40:43 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-18 17:41:24 -0400 |
commit | 8b6e517e339b7d9208f06b0c0ed47e3092a44fc6 (patch) | |
tree | e313bc647bac8251f13fc3f08b84e831a0311082 /crypto/ecdsa | |
parent | ddc29125a1d188e17b7fd16b55953b70ba3ce605 (diff) |
RT2492: Remove extra NULL check.
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r-- | crypto/ecdsa/ecdsatest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c index 87c0a65abf..89b7c9f59c 100644 --- a/crypto/ecdsa/ecdsatest.c +++ b/crypto/ecdsa/ecdsatest.c @@ -177,8 +177,7 @@ int fbytes(unsigned char *buf, int num) ret = 0; else ret = 1; - if (tmp) - BN_free(tmp); + BN_free(tmp); return ret; } |