From 15c8cc68101e73b26d3316fcaa4bfa1d550b549c Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 17 Dec 2019 22:01:42 -0600 Subject: [PATCH] update unit test to account for newly added null byte --- tests/Unit/Crypt/EC/KeyTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Crypt/EC/KeyTest.php b/tests/Unit/Crypt/EC/KeyTest.php index 21d0eb3a..8531501f 100644 --- a/tests/Unit/Crypt/EC/KeyTest.php +++ b/tests/Unit/Crypt/EC/KeyTest.php @@ -258,8 +258,8 @@ Z9w7lshQhqowtrbLDFw4rXAxZuE= // unstructuredName attribute with a value of "Curdle Chairs" // that the following key does not have $expected = '-----BEGIN PRIVATE KEY----- -MFICAQEwBwYDK2VwBQAEIgQg1O5y2/kTWErVttjx92n4rTr+fCjL8dT74Jeoj0R1 -WEKBIBm/RAlphM3+hUG6wWfcO5bIUIaqMLa2ywxcOK1wMWbh +MFMCAQEwBwYDK2VwBQAEIgQg1O5y2/kTWErVttjx92n4rTr+fCjL8dT74Jeoj0R1 +WEKBIQAZv0QJaYTN/oVBusFn3DuWyFCGqjC2tssMXDitcDFm4Q== -----END PRIVATE KEY-----'; $this->assertSame($expected, $key->toString('PKCS8'));