BN_FLG_FREE is of extremely dubious usefulness, and is only referred to
authorGeoff Thorpe <geoff@openssl.org>
Tue, 2 Dec 2003 03:16:56 +0000 (03:16 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 2 Dec 2003 03:16:56 +0000 (03:16 +0000)
commit2ae1ea3788206c8f79bc9f4d29eac56352bf3ff6
treed05422b3acd639ff7cb1c132ea9000e51e991d39
parent34066d741a7d24bb73931197d72a7264827325f4
BN_FLG_FREE is of extremely dubious usefulness, and is only referred to
once in the source (where it is set for the benefit of no other code
whatsoever). I've deprecated the declaration in the header and likewise
made the use of the flag conditional in bn_lib.c. Note, this change also
NULLs the 'd' pointer in a BIGNUM when it is reset but not deallocated.
crypto/bn/bn.h
crypto/bn/bn_lib.c