From 62381365c80ef931f720192f2b70ddfd7e0bfdbe Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 23 Jul 2016 18:54:25 -0500 Subject: [PATCH 1/3] Tests/X509: make dn more generic in unit test --- tests/Unit/File/X509/CSRTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/File/X509/CSRTest.php b/tests/Unit/File/X509/CSRTest.php index 8d63ecff..fa86d356 100644 --- a/tests/Unit/File/X509/CSRTest.php +++ b/tests/Unit/File/X509/CSRTest.php @@ -115,7 +115,7 @@ U9VQQSQzY1oZMVX8i1m5WUTLPz2yLJIBQVdXqhMCQBGoiuSoSjafUhV7i1cEGpb88h5NBYZzWXGZ 37sJ5QsW+sJyoNde3xH8vdXhzU7eT82D6X/scw9RZz+/6rCJ4p0= -----END RSA PRIVATE KEY-----'); $x509->setPrivateKey($rsa); - $x509->setDN(array('cn' => 'ncgamers.org')); + $x509->setDN(array('cn' => 'website.com')); $x509->saveCSR($x509->signCSR('sha256WithRSAEncryption'), FILE_X509_FORMAT_DER); } } From b9f072bf032785b71f16eeecc75520f960290597 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 28 Jul 2016 10:58:27 -0500 Subject: [PATCH 2/3] RSA: phpdoc updates --- phpseclib/Crypt/RSA.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php index ade9b33d..23ba0d07 100644 --- a/phpseclib/Crypt/RSA.php +++ b/phpseclib/Crypt/RSA.php @@ -282,7 +282,7 @@ class Crypt_RSA /** * Precomputed Zero * - * @var array + * @var Math_BigInteger * @access private */ var $zero; @@ -290,7 +290,7 @@ class Crypt_RSA /** * Precomputed One * - * @var array + * @var Math_BigInteger * @access private */ var $one; From eff01fba0e8998fd7eba180e96c997f0ac2bc9c2 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 28 Jul 2016 11:00:16 -0500 Subject: [PATCH 3/3] RSA: update phpdoc for 2.0 branch --- phpseclib/Crypt/RSA.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php index 171a61eb..ef508a43 100644 --- a/phpseclib/Crypt/RSA.php +++ b/phpseclib/Crypt/RSA.php @@ -245,7 +245,7 @@ class RSA /** * Precomputed Zero * - * @var Math_BigInteger + * @var \phpseclib\Math\BigInteger * @access private */ var $zero; @@ -253,7 +253,7 @@ class RSA /** * Precomputed One * - * @var Math_BigInteger + * @var \phpseclib\Math\BigInteger * @access private */ var $one;