From 9f0f8fd7e5721edc7737ded3f1faf290e25dd8ee Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sun, 29 Nov 2015 18:44:21 +0100 Subject: [PATCH 1/2] Correct indentation on pvno array definition. --- tests/Unit/File/ASN1Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/File/ASN1Test.php b/tests/Unit/File/ASN1Test.php index 2a6c4d63..fe0e01b4 100644 --- a/tests/Unit/File/ASN1Test.php +++ b/tests/Unit/File/ASN1Test.php @@ -18,7 +18,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase $KDC_REP = array( 'type' => FILE_ASN1_TYPE_SEQUENCE, 'children' => array( - 'pvno' => array( + 'pvno' => array( 'constant' => 0, 'optional' => true, 'explicit' => true, From ee0f45fea6e979cd1e873c3cba5a6a21fb2f7bef Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 5 Dec 2015 10:27:51 -0600 Subject: [PATCH 2/2] update identifier to current version --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 7cde0875..b393eb72 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -1134,7 +1134,7 @@ class Net_SSH2 */ function _generate_identifier() { - $identifier = 'SSH-2.0-phpseclib_0.3'; + $identifier = 'SSH-2.0-phpseclib_1.0'; $ext = array(); if (extension_loaded('openssl')) {