andyperlitch/jsbn — pull request #2 by MikeMcl (2014-11-11 16:04:57+00:00)
Title: Fix undefined DV

This is the bugfix from version 1.4 of *jsbn.js* (see [History](http://www-cs-students.stanford.edu/~tjw/jsbn/)) which fixes an undefined variable in the *bnpFromInt* function.

Without this fix, the following will throw *ReferenceError: DV is not defined*:

var x = new BigInteger('3');
x.fromInt(-2);