phpseclib/phpseclib — pull request #336 by terrafrost (2014-05-05 21:42:50+00:00)
Title: ASN1: make File_ASN1 accept int primitives and not just Math_BigInteger ...

...objects when an integer is expected

The code to convert the regular integer type into the appropriate format could all just be in-line'd when an integer primitive is used but this approach is easier to read.