When a BN_CTX is used for temporary workspace, the variables are sometimes
authorGeoff Thorpe <geoff@openssl.org>
Thu, 30 Oct 2003 01:07:56 +0000 (01:07 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Thu, 30 Oct 2003 01:07:56 +0000 (01:07 +0000)
commit5f747c7f4bfb7dc97179a1bbe746e083ca38d1e3
treee2966c4ca1a40056d49c7d60fa804d889d65fc53
parentc4db1a8b5c2d72b765614b2115f36ae5ac8d22bd
When a BN_CTX is used for temporary workspace, the variables are sometimes
left in an inconsistent state when they are released for later reuse. This
change resets the BIGNUMs when they are released back to the context.
crypto/bn/bn_ctx.c