mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Remove call to deprecated BN_CTX_init http://seclists.org/nmap-dev/2015/q2/9
This commit is contained in:
parent
be9793fe45
commit
986f87be39
1 changed files with 0 additions and 1 deletions
|
|
@ -97,7 +97,6 @@ static int l_bignum_mod_exp( lua_State *L ) /** bignum_mod_exp( BIGNUM a, BIGNUM
|
|||
bignum_data_t * m = (bignum_data_t *) luaL_checkudata(L, 3, "BIGNUM");
|
||||
BIGNUM * result = BN_new();
|
||||
BN_CTX * ctx = BN_CTX_new();
|
||||
BN_CTX_init( ctx );
|
||||
BN_mod_exp( result, a->bn, p->bn, m->bn, ctx );
|
||||
BN_CTX_free( ctx );
|
||||
bignum_data_t * data = (bignum_data_t *) lua_newuserdata( L, sizeof(bignum_data_t));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue