From e411a4b60e15e0ae5b19239e77cedd69323ff76d Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 25 Sep 2024 22:08:05 +0200 Subject: [PATCH] =?UTF-8?q?SNCB:=20remove=20superfluous=20code=20&=20certi?= =?UTF-8?q?ficate=20=F0=9F=92=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- p/sncb/digicert-sha2-secure-server-ca.crt.pem | 92 ------------------- p/sncb/index.js | 2 - 2 files changed, 94 deletions(-) delete mode 100644 p/sncb/digicert-sha2-secure-server-ca.crt.pem diff --git a/p/sncb/digicert-sha2-secure-server-ca.crt.pem b/p/sncb/digicert-sha2-secure-server-ca.crt.pem deleted file mode 100644 index b69c79ee1..000000000 --- a/p/sncb/digicert-sha2-secure-server-ca.crt.pem +++ /dev/null @@ -1,92 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIHLDCCBhSgAwIBAgIQBwcA9Au3lgLI6WjFe5ID9jANBgkqhkiG9w0BAQsFADBP -MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMSkwJwYDVQQDEyBE -aWdpQ2VydCBUTFMgUlNBIFNIQTI1NiAyMDIwIENBMTAeFw0yMTA5MDEwMDAwMDBa -Fw0yMjA5MDEyMzU5NTlaMHoxCzAJBgNVBAYTAkJFMRQwEgYDVQQHEwtTaW50LUdp -bGxpczE4MDYGA1UEChMvTmF0aW9uYWxlIE1hYXRzY2hhcHBpaiBkZXIgQmVsZ2lz -Y2hlIFNwb29yd2VnZW4xGzAZBgNVBAMTEnd3dy5iZWxnaWFucmFpbC5iZTCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOlf9B28jPNFztgjRP3wiKTwEo3Z -0RhdYhQJY+boOnruPMZM1xx9CDPWxerlAH1GP8KANm5pEXswCqwE5U5tse46qcV5 -C4o5vOyzvHNt4T1Qe/LSM4m4Vu4SiNmxfrIbY3PeO7Eaya+uFOyB2bSf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BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt -43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P -T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4 -gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO -BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR -TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw -DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr -hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg -06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF -PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls -YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk -CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4= ------END CERTIFICATE----- diff --git a/p/sncb/index.js b/p/sncb/index.js index 3980a54ed..ec60ee327 100644 --- a/p/sncb/index.js +++ b/p/sncb/index.js @@ -3,8 +3,6 @@ import {createRequire} from 'module'; const require = createRequire(import.meta.url); -import {readFileSync} from 'fs'; -import {Agent} from 'https'; import {strictEqual as eql} from 'assert'; import {parseHook} from '../../lib/profile-hooks.js'; import {parseLine} from '../../parse/line.js';