1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

CS adjustments

This commit is contained in:
terrafrost 2012-11-18 16:16:11 -06:00
parent 2a1909fd71
commit 406e7e90e9

View File

@ -3426,10 +3426,10 @@ class File_X509 {
/** /**
* Compute a public key identifier. * Compute a public key identifier.
* *
* Although key identifiers may be set to any unique value, this function * Although key identifiers may be set to any unique value, this function
* computes key identifiers from public key according to the two * computes key identifiers from public key according to the two
* recommended methods (4.2.1.2 RFC 3280). * recommended methods (4.2.1.2 RFC 3280).
* Highly polymorphic: try to accept all possible forms of key: * Highly polymorphic: try to accept all possible forms of key:
* - Key object * - Key object
* - File_X509 object with public or private key defined * - File_X509 object with public or private key defined
* - Certificate or CSR array * - Certificate or CSR array
@ -3497,7 +3497,7 @@ class File_X509 {
$hash[0] = chr((ord($hash[0]) & 0x0F) | 0x40); $hash[0] = chr((ord($hash[0]) & 0x0F) | 0x40);
} }
return $hash; return $hash;
} }
/** /**
@ -3560,7 +3560,6 @@ class File_X509 {
* @access private * @access private
* @return Integer or false * @return Integer or false
*/ */
function _revokedCertificate(&$rclist, $serial, $create = false) function _revokedCertificate(&$rclist, $serial, $create = false)
{ {
$serial = new Math_BigInteger($serial); $serial = new Math_BigInteger($serial);