Skip to content

Commit

Permalink
Adding race
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Dec 12, 2024
1 parent 402743b commit 6dc1193
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 72 deletions.
42 changes: 21 additions & 21 deletions internal/tls/testdata/server.crt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
-----BEGIN CERTIFICATE-----
MIIEGDCCAgCgAwIBAgIQVhMrHmE0jyAbPGIhIC6NpjANBgkqhkiG9w0BAQsFADAS
MRAwDgYDVQQKEwdSb290IENBMB4XDTI0MTIxMTIzNDcxNVoXDTI0MTIxMjAwNDcx
NVowFTETMBEGA1UEChMKS3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBANYa4U4+GOEHa6ufpyNF8E22hZfTLSGbkTGzOy6S8ScKwF1bg77m
Xj0sVdMnnjY1VcQ/W8Ik0AzsG2KfIc0r8/8yvctS6NdVI6D9KhYT4AlkuYnRRV0A
2YxcHoZpbBQb6InrZ+0I895DorR0KGEGB1U2zFSYYnzo9Q62VRp1m/GPrhpUo0d7
D1ud3goIOVe3iY5emXbKk2SyBUkXd6rR/11wyukOsYu1LS9/Nfpxx7w5PNekzRbE
XH5A4pqVnV7ecHNp6hr9fhDHUDzUbYCDE54Q/pR+i/lkyITiu9SafLAfcMEmlTN9
PMowGeBq1C9CxFISI6FIfzb6Wp4CMpT4Q7cCAwEAAaNnMGUwDgYDVR0PAQH/BAQD
MIIEGDCCAgCgAwIBAgIQDfInHXLoKYcZoMZe0q/N9TANBgkqhkiG9w0BAQsFADAS
MRAwDgYDVQQKEwdSb290IENBMB4XDTI0MTAyMjIyMzYzNloXDTI0MTAyMjIzMzYz
NlowFTETMBEGA1UEChMKS3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAP3MeHLv7sragkzD8iOj75YCJvOoys4Iy+EVwZhLAdtx+K89IOJr
6EKknoI0/FZowg5xuz4sE3sK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1GtJPc
JgPrKlQ+HV1QJ9lIUF/bAH1BC8CqoPp9vh+LsskQZJ+z7aU8ur/ct4oDxio=
FoAUhscCtqKglSlRCx9YNN1D/Xz5MpMwDwYDVR0RBAgwBocEfwAAATANBgkqhkiG
9w0BAQsFAAOCAgEAcxCGmWNtuM9V2yi0SOSLfxlSK7F1OS5qQuLWkZSDB1f+XG82
PNDwSrV4J42qZcFfKrEt1HtS/Ws6VRlLrSnYArNSyQvNTeNf0q/rX9yO8wRcCM5K
sb8uv27xdawjN6F3z59rpJOf9ldX4ASrRZHzX/ttvvNcUdbCZsF5+h2EhcwNVVUa
Q6vlAW8u4Ik9HXxJ+W2HEdlSYWcCdTK4hDCtJhwqEBua1VdKwSdrlDZJPswAdCzv
CR3Fj4NsmPRDw8uCPIL4hwk5fbffcn3rZrsOXSMTKxvdyP+XBPKWEoIs6cxvdE3o
sG65EZeGpj0vLN+rLEbumkvgCAHACgVxvyDeJnajoA6lPNxfzby+9CmhLZfgaVbE
nVQTj8hkUW1gtvnAP3v1Zbe3QMhlqWqwfwD5MgtdQZQ1IwAojaHwt105amQLxESe
vxAQdabKNkW/HUOjKmxz0XtadCLAwPBhP9/j6rQrDVH62zjHmEOjU/WsJQflgLfh
VJ/oIhLTDdGHhamJabpBr6RroxJVXo+vjfUf5LUc5vw54emx7PWOW4opuL3cE6J/
URmA9CJX4wBeYyEHHoHFlPD9vV5GxOFQ57UimQK/bNl5jh1zxPPAY0j5OwReJRGH
1mrzt6pfGQeYFHMXbkFA5HU5P7Q5VF0cDCef9s1bxglSiMsEDaLOOyKvJ/w=
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions internal/tls/testdata/server.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDWGuFOPhjhB2ur
n6cjRfBNtoWX0y0hm5ExszsukvEnCsBdW4O+5l49LFXTJ542NVXEP1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testdata/tls-ca.crt
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
-----BEGIN CERTIFICATE-----
MIIE9jCCAt6gAwIBAgIBATANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQKEwdSb290
IENBMB4XDTI0MTIxMTIzNDcxOFoXDTM0MTIxMTIzNDcxOFowEjEQMA4GA1UEChMH
Um9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAL0JjUPtzTqE
gHigEtQj3czseAft1q2IxwGfs9Z2Pw4hxtymMSxKxFcMSwqEOGVppvhZrK7jeZQO
I5LAh5t0S+alSNFzpDhnw5kOsVD6XaaFNcTAFTbS7/xrlAeZNpZQjz4v2C3fuqyx
AHG4XuA4nLjO3pc4qMwCmS+Wt25tmkgXTPNhd6yTgA45fyD4eIfzVbz9cra+i40H
lXIcgqncEheVCB8Tdq/4IS8tYaGSn+hk3aCsl+UQoK9Dd+yrfIdNqAOK4bqmMu4A
M1THLMmHQe4okN/DNLMiJgPVCA80Uw4tQe5thGdfidMYJu7odGjq//DQu0OK4sCB
6GEiiaMqaFUVXcHdiDlnABt+AQv8QCZk3PA5SMCWISdK/4W06B5Xhebrt8lYyEdS
TCGGcxdZ1cjk0DeQnihVUPg6+uehIdBqqC3rcTlk1JBf0hw58V1buJvkj2NF/KrJ
K5snABYe1Za/QbsaIHdI54crb5ApUx9ipDpENh37UVmIHx8Ozld47eFTGtCHDP6Z
0evudMjXDGeaJpZfJqomTMb4Wk+pybdoooLK9BHpGXofnfrf4pgIQOWeU5g6Xvvi
a0fx2tfY0X8wlqXopdzZDhuZ/jC/hLjgYGwbtA6niBKA8TL3mELWFIF4ULI7EoYh
lRWhRuIaeNOIplHKpk76hfy00lEsnFO1AgMBAAGjVzBVMA4GA1UdDwEB/wQEAwIC
IENBMB4XDTI0MTAyMjIyMzYzOFoXDTM0MTAyMjIyMzYzOFowEjEQMA4GA1UEChMH
Um9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADgg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