From ff88b7e68584bde9fd2a6847af5ac3abaec223ce Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 14 May 2013 10:38:01 -0500 Subject: [PATCH] ASN1: CS adjustments --- phpseclib/File/ASN1.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/phpseclib/File/ASN1.php b/phpseclib/File/ASN1.php index 69a2ee91..cb1e4acf 100644 --- a/phpseclib/File/ASN1.php +++ b/phpseclib/File/ASN1.php @@ -242,16 +242,21 @@ class File_ASN1 { FILE_ASN1_TYPE_VISIBLE_STRING => 1, ); + /** + * Default Constructor. + * + * @access public + */ function File_ASN1() - { - static $static_init = null; - if (!$static_init) { - $static_init = true; - if (!class_exists('Math_BigInteger')) { - require_once('Math/BigInteger.php'); - } + { + static $static_init = null; + if (!$static_init) { + $static_init = true; + if (!class_exists('Math_BigInteger')) { + require_once('Math/BigInteger.php'); } } + } /** * Parse BER-encoding