From 551cb5ac93c348dd3d62db9292ec50c0267afcd9 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Thu, 25 Oct 2018 18:27:48 +0800 Subject: [PATCH] message --- service/Application/Library/AlipayLife.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/Application/Library/AlipayLife.class.php b/service/Application/Library/AlipayLife.class.php index 2d4ca97c5..126d3c35f 100644 --- a/service/Application/Library/AlipayLife.class.php +++ b/service/Application/Library/AlipayLife.class.php @@ -58,7 +58,7 @@ class AlipayLife { $res = "-----BEGIN RSA PRIVATE KEY-----\n"; $res .= wordwrap($this->life_data['rsa_private'], 64, "\n", true); - $res .= "\nEND RSA PRIVATE KEY-----"; + $res .= "\n-----END RSA PRIVATE KEY-----"; return openssl_sign($prestr, $sign, $res, OPENSSL_ALGO_SHA256) ? base64_encode($sign) : null; }