From 91e6ecbbbc604d636a62eda0b25c30407a9e8465 Mon Sep 17 00:00:00 2001 From: Matthew B White Date: Wed, 19 Dec 2018 18:09:20 +0000 Subject: [PATCH] Update test.js --- test/test.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/test.js b/test/test.js index bb29599..5112b19 100644 --- a/test/test.js +++ b/test/test.js @@ -54,21 +54,3 @@ x509.verify( assert.throws(assert.ifError.bind(null, err), /Failed to load cert/) } ); - -const certWithAttrs = `-----BEGIN CERTIFICATE----- -MIIB6TCCAY+gAwIBAgIUHkmY6fRP0ANTvzaBwKCkMZZPUnUwCgYIKoZIzj0EAwIw -GzEZMBcGA1UEAxMQZmFicmljLWNhLXNlcnZlcjAeFw0xNzA5MDgwMzQyMDBaFw0x -ODA5MDgwMzQyMDBaMB4xHDAaBgNVBAMTE015VGVzdFVzZXJXaXRoQXR0cnMwWTAT -BgcqhkjOPQIBBggqhkjOPQMBBwNCAATmB1r3CdWvOOP3opB3DjJnW3CnN8q1ydiR -dzmuA6A2rXKzPIltHvYbbSqISZJubsy8gVL6GYgYXNdu69RzzFF5o4GtMIGqMA4G -A1UdDwEB/wQEAwICBDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTYKLTAvJJK08OM -VGwIhjMQpo2DrjAfBgNVHSMEGDAWgBTEs/52DeLePPx1+65VhgTwu3/2ATAiBgNV -HREEGzAZghdBbmlscy1NYWNCb29rLVByby5sb2NhbDAmBggqAwQFBgcIAQQaeyJh -dHRycyI6eyJhdHRyMSI6InZhbDEifX0wCgYIKoZIzj0EAwIDSAAwRQIhAPuEqWUp -svTTvBqLR5JeQSctJuz3zaqGRqSs2iW+QB3FAiAIP0mGWKcgSGRMMBvaqaLytBYo -9v3hRt1r8j8vN0pMcg== ------END CERTIFICATE-----`; - - -var cert = x509.parseCert((certWithAttrs)); -console.log(cert) \ No newline at end of file