• G
    More changes coming out of the bignum auditing. BN_CTX_get() should ideally · e7716b7a
    Geoff Thorpe 提交于
    return a "zero" bignum as BN_new() does - so reset 'top'. During
    BN_CTX_end(), released bignums should be consistent so enforce this in
    debug builds. Also, reduce the number of wasted BN_clear_free() calls from
    BN_CTX_end() (typically by 75% or so).
    
    Submitted by: Nils Larsch
    Reviewed by: Geoff Thorpe, Ulf Möller
    e7716b7a
bn_ctx.c 5.1 KB