commit | b6358c89a10128692875fb92921b663c4d079a1e | [log] [tgz] |
---|---|---|
author | Geoff Thorpe <geoff@openssl.org> | Sat Mar 13 23:57:20 2004 +0000 |
committer | Geoff Thorpe <geoff@openssl.org> | Sat Mar 13 23:57:20 2004 +0000 |
tree | d36362a84ee41209484b4b088c2b9d1728bfc613 | |
parent | 5d735465d1b5b7853506979946ad5730cc3615bb [diff] |
Convert openssl code not to assume the deprecated form of BN_zero(). Remove certain redundant BN_zero() initialisations, because BN_CTX_get(), BN_init(), [etc] already initialise to zero. Correct error checking in bn_sqr.c, and be less wishy-wash about how/why the result's 'top' value is set (note also, 'max' is always > 0 at this point).