mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 03:03:49 +00:00
Merge branch 'master' of https://github.com/phpseclib/phpseclib
This commit is contained in:
commit
2bae0c3881
@ -3222,7 +3222,7 @@ class X509
|
|||||||
* @access public
|
* @access public
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
function sign($issuer, $subject, $signatureAlgorithm = 'sha1WithRSAEncryption')
|
function sign($issuer, $subject, $signatureAlgorithm = 'sha256WithRSAEncryption')
|
||||||
{
|
{
|
||||||
if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
|
if (!is_object($issuer->privateKey) || empty($issuer->dn)) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user