BN_div_word() was breaking when called from BN_bn2dec() (actually, this is
authorGeoff Thorpe <geoff@openssl.org>
Thu, 17 Jun 2004 20:03:56 +0000 (20:03 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Thu, 17 Jun 2004 20:03:56 +0000 (20:03 +0000)
commitcf9056cfda3976fc53a630f9965b68569d656e27
tree72bc98c2976677caf6bd1b886b00dce23591c7dc
parentf7fc4ca1dd98153e8e21ecbd1fb4fd45c8a14011
BN_div_word() was breaking when called from BN_bn2dec() (actually, this is
the only function that uses it) because it would trip up an assertion in
bn_div_words() when first invoked. This also adds BN_div_word() testing to
bntest.

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
crypto/bn/bn_word.c
crypto/bn/bntest.c