微调
This commit is contained in:
@@ -156,8 +156,7 @@ class Init
|
|||||||
{
|
{
|
||||||
$signStr = $this->getSignString();
|
$signStr = $this->getSignString();
|
||||||
$private_key = $this->getPrivate();
|
$private_key = $this->getPrivate();
|
||||||
|
$privKeyId = openssl_get_privatekey($private_key);
|
||||||
$privKeyId = openssl_get_privatekey($private_key);
|
|
||||||
|
|
||||||
if (!$privKeyId) {
|
if (!$privKeyId) {
|
||||||
throw new \Exception('私钥格式有误');
|
throw new \Exception('私钥格式有误');
|
||||||
|
|||||||
Reference in New Issue
Block a user