Some cleanups for crypto/bn
authorRich Salz <rsalz@akamai.com>
Wed, 22 Jul 2015 10:44:50 +0000 (06:44 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 22 Jul 2015 18:43:05 +0000 (14:43 -0400)
commit9f040d6decca7930e978784c917f731e5c45e8f0
treec3e09cfde8f467f10f63ce01e787cd10d4c95bdd
parent4445704f912495227e9e99835e94219d7e79684c
Some cleanups for crypto/bn

Create bn_free_d utility routine and use it.
Fix RT3950
Also a missing cleanse, from Loganaden Velvindron (loganaden@gmail.com),
who noticed it in a Cloudflare patch.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bn/bn_add.c
crypto/bn/bn_lib.c
crypto/bn/bn_mont.c