Exception support for SSHv1
* metaclassing/sshv1-exceptions:
I misinterpreted the meaning of === true and messed up quotes on one throw
Tried to replicate SSHv2 exception support into SSHv1
* 2.0:
Remove unnecessary parens
Convert most instances of function_exists() to extension_loaded() where applicable
Remove conditions for PHP < 5.3.0 for this branch
Switch to extension_loaded('gmp')
Switch to extension_loaded instead of function_exists where it makes sense
Switch to extension loaded (2.0)
* cweagans/switch-to-extension-loaded-2.0:
Remove conditions for PHP < 5.3.0 for this branch
Switch to extension_loaded('gmp')
Switch to extension_loaded instead of function_exists where it makes sense
* 1.0:
Remove unnecessary parens
Convert most instances of function_exists() to extension_loaded() where applicable
Conflicts:
phpseclib/Crypt/Random.php
phpseclib/Math/BigInteger.php
Switch to extension loaded (1.0)
* cweagans/switch-to-extension-loaded-1.0:
Remove unnecessary parens
Convert most instances of function_exists() to extension_loaded() where applicable
* 2.0:
Backport to 2.0: Add PHP7 to Travis CI.
Remove duplicate allow_failures section
Test on PHP 7 & allow failures
Coding standards fix
Switch from EngineException to Error
Remove string assignment
Use random_bytes() when appropriate.
Use random_bytes() when appropriate (2.0)
* cweagans/php7-random-bytes-2.0:
Remove duplicate allow_failures section
Test on PHP 7 & allow failures
Coding standards fix
Switch from EngineException to Error
Remove string assignment
Use random_bytes() when appropriate.
Exception support
* terrafrost/exceptions-v1:
Exceptions: CS adjustment
SSH/Agent/Identity: replace user_error's with exceptions
SSH2: missed a few user_error's
SCP: replace user_error's with exceptions
SSH/Agent: replace user_error's with exceptions
SFTP: replace user_error's with exceptions
RSA: some of the exceptions being thrown weren't valid
SSH2: replace user_error's with exceptions
ASN1/X509: throw exceptions instead of user_errors
rm unused exception
RSA: replace user_error's with Exceptions
Random: replace user_error with exception
Crypt/Base: use the built-in spl exceptions instead
Exceptions: more CS adjustments
Exceptions: CS adjustment
Crypt/Base: add initial exception support