Commit Graph

162 Commits

Author SHA1 Message Date
Andreas Fischer
a15079676c Merge branch 'master' into php5
* master:
  SFTP: cs adjustment
  SFTP: optimize conditional calls to fclose in get() method
  SFTP: grammar
  SFTP: fix issue with uploading via a resource
  SFTP: make it so files can be downloaded into resources or upload   from resources
2014-08-19 22:25:07 +02:00
terrafrost
e48ee12940 SFTP: make it so files can be downloaded into resources or upload
from resources
2014-08-16 12:49:55 -05:00
Andreas Fischer
6ba2b374e5 Merge branch 'master' into php5
* master:
  AES: don't do mcrypt unit tests if mcrypt extension is not available
  AES: a few final changes
  AES: set CRYPT_RIJNDAEL_MODE as well in unit tests
  AES: CS changes to unit tests
  AES: more unit test fixes
  AES: unit test updates
  AES: more unit test fixes
  AES: add new lines to end of unit tests
  AES: CS adjustments to unit tests
  AES: first attempt at unit tests for key padding
  Rijndael, AES: adjustments to what key sizes are and aren't allowed
2014-08-15 16:27:36 +02:00
terrafrost
0d6fbb9e30 AES: don't do mcrypt unit tests if mcrypt extension is not available 2014-08-15 09:23:55 -05:00
terrafrost
aa0e7347ef AES: a few final changes 2014-08-14 23:09:17 -05:00
terrafrost
7a1b1df600 AES: set CRYPT_RIJNDAEL_MODE as well in unit tests 2014-08-14 11:27:27 -05:00
terrafrost
4d72d1b48d AES: CS changes to unit tests 2014-08-14 11:09:54 -05:00
terrafrost
d01c1b1eb7 AES: more unit test fixes 2014-08-14 10:59:37 -05:00
terrafrost
085ec03b53 AES: unit test updates 2014-08-14 10:47:26 -05:00
terrafrost
3fdd5731d1 AES: more unit test fixes 2014-08-14 10:37:10 -05:00
terrafrost
42e5c6845c AES: add new lines to end of unit tests 2014-08-14 10:31:57 -05:00
terrafrost
d88b7ed6dd AES: CS adjustments to unit tests 2014-08-14 10:06:25 -05:00
terrafrost
8cf6af94dd AES: first attempt at unit tests for key padding 2014-08-14 10:03:01 -05:00
Andreas Fischer
1089dfb797 Merge branch 'master' into php5
* master:
  Hash: rm first parameter of testHMAC call
  Hash: fix unit tests
  Hash: refactor unit tests
2014-08-11 20:55:09 +02:00
terrafrost
89970885ed Hash: rm first parameter of testHMAC call 2014-08-10 15:18:51 -05:00
terrafrost
3f897cf48b Hash: fix unit tests 2014-08-10 14:54:36 -05:00
terrafrost
fb2ecc6c18 Hash: refactor unit tests 2014-08-10 11:52:31 -05:00
Andreas Fischer
83485c130f Merge branch 'master' into php5
* master:
  Hash: apply fixes to sha512 unit tests as well
  Hash: one more fix to unit test
  Hash: fix unit tests
  Hash: add unit tests
  Hash: add sha256-96 and sha512-96
2014-08-10 17:59:08 +02:00
terrafrost
4fa96e384c Hash: apply fixes to sha512 unit tests as well 2014-08-10 09:14:33 -05:00
terrafrost
a52315a0cb Hash: one more fix to unit test 2014-08-10 09:08:52 -05:00
terrafrost
a906e83f2a Hash: fix unit tests 2014-08-10 02:07:54 -05:00
terrafrost
e3136ccd13 Hash: add unit tests 2014-08-10 02:01:21 -05:00
Andreas Fischer
194b0d967b Merge branch 'master' into php5
* master:
  only use runkit functions if runkit isn't loaded
  Unit tests: changing the mode with runkit causes issues with static vars
2014-08-05 00:10:26 +02:00
Andreas Fischer
c52441e7f2 Merge pull request #443 from terrafrost/runkit-fix
Unit tests: changing the mode with runkit causes issues with static vars

* terrafrost/runkit-fix:
  only use runkit functions if runkit isn't loaded
  Unit tests: changing the mode with runkit causes issues with static vars
2014-08-05 00:10:19 +02:00
terrafrost
c0731df4be only use runkit functions if runkit isn't loaded 2014-08-04 16:33:23 -05:00
terrafrost
8d82f92d18 Unit tests: changing the mode with runkit causes issues with static vars 2014-08-01 11:01:53 -05:00
Andreas Fischer
4594bbb0dc Merge branch 'master' into php5
* master:
  Add missing Unit prefix to class Math_BigInteger_InternalTest.
2014-07-31 11:51:36 +02:00
Andreas Fischer
2d726cf0ed Add missing Unit prefix to class Math_BigInteger_InternalTest. 2014-07-31 11:41:57 +02:00
Andreas Fischer
e4516fb453 Merge branch 'master' into php5
* master:
  Add some test cases for SHA512.
  Use toBits() as there is no bits property.
  SSH2: Disallow the none MAC.
2014-07-26 17:20:09 +02:00
Andreas Fischer
daca5e914f Add some test cases for SHA512. 2014-07-26 13:49:42 +02:00
Andreas Fischer
9fadfcc1ad Merge branch 'master' into php5
* master:
  Add a few SSH2 preLogin tests.
2014-07-22 16:08:06 +02:00
Andreas Fischer
d614274ed2 Add a few SSH2 preLogin tests. 2014-07-21 23:58:17 +02:00
Andreas Fischer
e191ba32ea Merge branch 'master' into php5
* master:
  Put some assertions into testStatcacheFix().
2014-07-20 22:44:42 +02:00
Andreas Fischer
d29ad3afa9 Merge branch 'master' into php5
* master:
  SFTP: stat cache fixes
  SFTP: return $sftp object in new unit test method
  SFTP: add unit test for stat cache fix
2014-07-20 21:41:51 +02:00
Andreas Fischer
7dd01c6103 Put some assertions into testStatcacheFix(). 2014-07-19 00:28:39 +02:00
terrafrost
41ae2fb130 SFTP: return $sftp object in new unit test method 2014-07-17 11:35:58 -05:00
terrafrost
6202d2c3ed SFTP: add unit test for stat cache fix 2014-07-17 11:22:59 -05:00
Andreas Fischer
970c55d6cc Remove side-effect from Net/SFTP/Stream.php. 2014-06-27 14:22:47 +02:00
Andreas Fischer
d25d115747 Merge branch 'master' into php5
* master:
  Use get_called_class() if available.
  Add Net_SFTP_Stream::register() for easier autoloading.
  Add unit test for (to be added) Net_SFTP_Stream::register().
2014-06-27 14:14:18 +02:00
Andreas Fischer
f360932343 Add unit test for (to be added) Net_SFTP_Stream::register(). 2014-06-27 00:21:55 +02:00
Andreas Fischer
510d5e1778 Merge branch 'master' into php5
* master:
  SFTP: return $sftp object in unit tests
  SFTP: fix unit test
  SFTP: syntax error in unit test
  SFTP: add unit tests for symlinks
  SFTP: add readlink and symlink functions
2014-06-23 16:37:56 +02:00
Andreas Fischer
949cfcc867 Merge pull request #386 from terrafrost/symlink
SFTP: add readlink and symlink functions

* terrafrost/symlink:
  SFTP: return $sftp object in unit tests
  SFTP: fix unit test
  SFTP: syntax error in unit test
  SFTP: add unit tests for symlinks
  SFTP: add readlink and symlink functions
2014-06-23 16:37:55 +02:00
terrafrost
03c315d546 SFTP: return $sftp object in unit tests 2014-06-19 23:57:32 -05:00
terrafrost
05baf7b73b SFTP: fix unit test 2014-06-19 13:57:42 -05:00
terrafrost
366410e2e1 SFTP: syntax error in unit test 2014-06-19 10:42:20 -05:00
Andreas Fischer
709c7c4d48 Merge pull request #385 from bantu/a-random-change
Random: include the Crypt_* classes if they're available

* bantu/a-random-change:
  phpseclib_is_includable() -> phpseclib_resolve_include_path()
  Drop Net_SSH2::_is_includable() method.
  Random: a few changes to the stream_resolve_include_path_function
  Replace stream_resolve_include_path with phpseclib_is_includable.
  Random: add explanatory comment
  SSH2: replace _is_includable() with stream_resolve_include_path
  Random: include the Crypt_* classes if they're available
2014-06-19 16:08:59 +02:00
terrafrost
f95bf8b10b SFTP: add unit tests for symlinks 2014-06-19 09:00:23 -05:00
Andreas Fischer
fd65c55720 phpseclib_is_includable() -> phpseclib_resolve_include_path() 2014-06-19 14:57:09 +02:00
Andreas Fischer
9c90beaf82 Replace stream_resolve_include_path with phpseclib_is_includable. 2014-06-17 14:38:24 +02:00
Andreas Fischer
563b8af6ce Merge branch 'master' into php5
* master:
  SSH2: rm redundant part of SSH2 unit test
  SSH2: add unit test for getServerPublicHostKey
  SSH2: make it so you can verify server public host key without logging on
2014-06-17 11:37:37 +02:00