From 6f54fe72f26d84a4598b5a29516f962b8851168b Mon Sep 17 00:00:00 2001 From: Jarno Lamsa Date: Tue, 29 Oct 2019 15:15:58 +0200 Subject: [PATCH] Add a bad version of server11 certificate The certificate has a corrupted public key and signature. Generating it through Makefile isn't trivial and since it is a corrupted certificate, that shouldn't be accepted, there shouldn't be a need to generate it again anyway. --- tests/data_files/Readme-x509.txt | 1 + tests/data_files/server11-bad.crt.der | Bin 0 -> 435 bytes 2 files changed, 1 insertion(+) create mode 100644 tests/data_files/server11-bad.crt.der diff --git a/tests/data_files/Readme-x509.txt b/tests/data_files/Readme-x509.txt index 388865be52..850237a840 100644 --- a/tests/data_files/Readme-x509.txt +++ b/tests/data_files/Readme-x509.txt @@ -107,6 +107,7 @@ List of certificates: _int3_int-ca2_ca.crt: S10 + I3 + I2 + 1 _int3_spurious_int-ca2.crt: S10 + I3 + I1(spurious) + I2 - server11.crt: 3 E, secp256r1 curve + -bad.crt.der: S11 with corrupted public key and signature Certificate revocation lists ---------------------------- diff --git a/tests/data_files/server11-bad.crt.der b/tests/data_files/server11-bad.crt.der new file mode 100644 index 0000000000000000000000000000000000000000..0a782a76614e00c296c15c603fb0f7a375662d31 GIT binary patch literal 435 zcmXqLVq9;~#2B=InTe5!iILHOhmAw4&EuRc3o{cdgMqc7lz{{rb0`Zlk6=h@afyPn zqe5_Ma)FVlS&^ZkfB_#!j*ExgHz_qG#3$I0+kg`!!Y0fV>TMt=&TC)@h6W%ICC+PX zU}$6vM5dOemQe=AhC&7c5W_ih@{<#DGV+T{2pJk_Ak4-Nb|DiZ)Tzvj?95IKEXN=D zcKp70?0*8!!^0&@e#%>~om;YW!xn2<(f>CWtSN}?+`<(WcXpau-OQTfQ>=f+u8`ur z9M`bN=jHSs?x@@kXBYb#c!QlUE6l=Vz+fN?beb$5ix`WDa-6N)ZBCc4DNXq*D|crx zt8xC`WFQZcR%Vef5Ni@DWOV_2bNdhPeQfaeNAs3FPh$zb5dq{z_w{$nNY zW{V&`--3nrG{SD*aeTQ!;=$$r4`SD+sc*690V?Tvw0QLg&d$&4P8M%8JHISD