BN_bin2bn handle leading zero's
authorRich Salz <rsalz@akamai.com>
Mon, 10 Aug 2015 16:45:25 +0000 (12:45 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 26 Aug 2015 11:00:43 +0000 (07:00 -0400)
commit22dc08d00ae9517048b1ca44cd3810128eba0273
tree49f25f457422749d9888865e1afc8f05c945ed5a
parentddcc5e5b60e2e14a7f65cc8faff0642cb68f4343
BN_bin2bn handle leading zero's

If a binary sequence is all zero's, call BN_zero.

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/bn/bn_lib.c
engines/ccgost/gost2001_keyx.c
engines/ccgost/gost_ameth.c
engines/ccgost/gost_asn1.c
engines/ccgost/gost_lcl.h