summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s_client: Play some golfPatrick McDermott2019-07-301-29/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves 80 bytes in .text and 24 bytes in .rodata: wolfssl-util: file format elf64-x86-64 Sections: Idx Name Size VMA LMA File off Algn 0 .interp 0000001c 0000000000000238 0000000000000238 00000238 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .note.ABI-tag 00000020 0000000000000254 0000000000000254 00000254 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .note.gnu.build-id 00000024 0000000000000274 0000000000000274 00000274 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .gnu.hash 0000003c 0000000000000298 0000000000000298 00000298 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .dynsym 00000450 00000000000002d8 00000000000002d8 000002d8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .dynstr 000002ab 0000000000000728 0000000000000728 00000728 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .gnu.version 0000005c 00000000000009d4 00000000000009d4 000009d4 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .gnu.version_r 00000020 0000000000000a30 0000000000000a30 00000a30 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .rela.dyn 00000108 0000000000000a50 0000000000000a50 00000a50 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 9 .rela.plt 00000318 0000000000000b58 0000000000000b58 00000b58 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 10 .init 00000017 0000000000000e70 0000000000000e70 00000e70 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 11 .plt 00000220 0000000000000e90 0000000000000e90 00000e90 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .plt.got 00000008 00000000000010b0 00000000000010b0 000010b0 2**3 CONTENTS, ALLOC, LOAD, READONLY, CODE - 13 .text 00000792 00000000000010c0 00000000000010c0 000010c0 2**4 + 13 .text 00000742 00000000000010c0 00000000000010c0 000010c0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE - 14 .fini 00000009 0000000000001854 0000000000001854 00001854 2**2 + 14 .fini 00000009 0000000000001804 0000000000001804 00001804 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE - 15 .rodata 000001a6 0000000000001860 0000000000001860 00001860 2**3 + 15 .rodata 0000018e 0000000000001810 0000000000001810 00001810 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA - 16 .eh_frame_hdr 00000044 0000000000001a08 0000000000001a08 00001a08 2**2 + 16 .eh_frame_hdr 00000044 00000000000019a0 00000000000019a0 000019a0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 17 .eh_frame 00000184 0000000000001a50 0000000000001a50 00001a50 2**3 + 17 .eh_frame 00000184 00000000000019e8 00000000000019e8 000019e8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 18 .init_array 00000008 0000000000201dc8 0000000000201dc8 00001dc8 2**3 CONTENTS, ALLOC, LOAD, DATA 19 .fini_array 00000008 0000000000201dd0 0000000000201dd0 00001dd0 2**3 CONTENTS, ALLOC, LOAD, DATA 20 .jcr 00000008 0000000000201dd8 0000000000201dd8 00001dd8 2**3 CONTENTS, ALLOC, LOAD, DATA 21 .dynamic 000001f0 0000000000201de0 0000000000201de0 00001de0 2**3 CONTENTS, ALLOC, LOAD, DATA 22 .got 00000030 0000000000201fd0 0000000000201fd0 00001fd0 2**3 CONTENTS, ALLOC, LOAD, DATA 23 .got.plt 00000120 0000000000202000 0000000000202000 00002000 2**3 CONTENTS, ALLOC, LOAD, DATA 24 .data 00000018 0000000000202120 0000000000202120 00002120 2**3 CONTENTS, ALLOC, LOAD, DATA 25 .bss 00000010 0000000000202140 0000000000202140 00002138 2**5 ALLOC 26 .comment 00000026 0000000000000000 0000000000000000 00002138 2**0 CONTENTS, READONLY
* s_client: Simplify error handlingPatrick McDermott2019-07-301-30/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As many source lines as this removes, here's the binary size difference: wolfssl-util: file format elf64-x86-64 Sections: Idx Name Size VMA LMA File off Algn 0 .interp 0000001c 0000000000000238 0000000000000238 00000238 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .note.ABI-tag 00000020 0000000000000254 0000000000000254 00000254 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .note.gnu.build-id 00000024 0000000000000274 0000000000000274 00000274 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .gnu.hash 0000003c 0000000000000298 0000000000000298 00000298 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .dynsym 00000450 00000000000002d8 00000000000002d8 000002d8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .dynstr 000002ab 0000000000000728 0000000000000728 00000728 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .gnu.version 0000005c 00000000000009d4 00000000000009d4 000009d4 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .gnu.version_r 00000020 0000000000000a30 0000000000000a30 00000a30 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .rela.dyn 00000108 0000000000000a50 0000000000000a50 00000a50 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 9 .rela.plt 00000318 0000000000000b58 0000000000000b58 00000b58 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 10 .init 00000017 0000000000000e70 0000000000000e70 00000e70 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 11 .plt 00000220 0000000000000e90 0000000000000e90 00000e90 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .plt.got 00000008 00000000000010b0 00000000000010b0 000010b0 2**3 CONTENTS, ALLOC, LOAD, READONLY, CODE - 13 .text 00000782 00000000000010c0 00000000000010c0 000010c0 2**4 + 13 .text 00000792 00000000000010c0 00000000000010c0 000010c0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE - 14 .fini 00000009 0000000000001844 0000000000001844 00001844 2**2 + 14 .fini 00000009 0000000000001854 0000000000001854 00001854 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE - 15 .rodata 000001a6 0000000000001850 0000000000001850 00001850 2**3 + 15 .rodata 000001a6 0000000000001860 0000000000001860 00001860 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA - 16 .eh_frame_hdr 00000044 00000000000019f8 00000000000019f8 000019f8 2**2 + 16 .eh_frame_hdr 00000044 0000000000001a08 0000000000001a08 00001a08 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 17 .eh_frame 00000184 0000000000001a40 0000000000001a40 00001a40 2**3 + 17 .eh_frame 00000184 0000000000001a50 0000000000001a50 00001a50 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 18 .init_array 00000008 0000000000201dc8 0000000000201dc8 00001dc8 2**3 CONTENTS, ALLOC, LOAD, DATA 19 .fini_array 00000008 0000000000201dd0 0000000000201dd0 00001dd0 2**3 CONTENTS, ALLOC, LOAD, DATA 20 .jcr 00000008 0000000000201dd8 0000000000201dd8 00001dd8 2**3 CONTENTS, ALLOC, LOAD, DATA 21 .dynamic 000001f0 0000000000201de0 0000000000201de0 00001de0 2**3 CONTENTS, ALLOC, LOAD, DATA 22 .got 00000030 0000000000201fd0 0000000000201fd0 00001fd0 2**3 CONTENTS, ALLOC, LOAD, DATA 23 .got.plt 00000120 0000000000202000 0000000000202000 00002000 2**3 CONTENTS, ALLOC, LOAD, DATA 24 .data 00000018 0000000000202120 0000000000202120 00002120 2**3 CONTENTS, ALLOC, LOAD, DATA 25 .bss 00000010 0000000000202140 0000000000202140 00002138 2**5 ALLOC 26 .comment 00000026 0000000000000000 0000000000000000 00002138 2**0 CONTENTS, READONLY 16 more bytes in the .text section. Oh well.
* build: Unconditionally harden timingPatrick McDermott2019-07-301-4/+2
|
* build: Drop -g and -O2 from CFLAGSPatrick McDermott2019-07-301-0/+1
|
* s_client: Verify hostPatrick McDermott2019-07-302-1/+29
| | | | wolfSSL doesn't do this automatically?!
* tests/badssl.sh: Drop Certificate Transparency testPatrick McDermott2019-07-301-3/+1
| | | | | | CT seems to be unsupported in wolfSSL, but the certificate for invalid-expected-sct.badssl.com is expired, so this is likely a false pass.
* tests/badssl.sh: Deprecate DH with 1024-bit groupPatrick McDermott2019-07-301-1/+1
|
* tests/badssl.sh: Deprecate AES-CBCPatrick McDermott2019-07-301-1/+1
|
* tests/badssl.sh: Mark expected failuresPatrick McDermott2019-07-301-45/+46
|
* tests/badssl.sh: Upgrade to HTTP/1.1Patrick McDermott2019-07-301-1/+3
|
* tests/badssl.sh: Print newline before TAP directivesPatrick McDermott2019-07-301-2/+9
|
* build: Use -Os flagPatrick McDermott2019-07-301-0/+2
|
* build: Use timing hardening flagsPatrick McDermott2019-07-301-0/+5
|
* s_client: Disable SSLv3, TLSv1.0, and TLSv1.1Patrick McDermott2019-07-302-3/+3
| | | | And update tests/badssl.sh results.
* tests/badssl.sh: Fix Mozilla recommendation resultsPatrick McDermott2019-07-291-2/+2
|
* tests/badssl.sh: Update resultsPatrick McDermott2019-07-291-7/+6
| | | | | | HPKP is unimplemented, certificates without CN/subject are accepted, wolfSSL falls over with too many SANs, and 8192-bit RSA keys are unsupported by wolfSSL (which is probably a good thing anyway).
* s_client: Use supported curvesPatrick McDermott2019-07-291-0/+103
|
* tests/badssl.sh: Add "not " to test descriptionsPatrick McDermott2019-07-291-18/+19
|
* tests/badssl.sh: New test scriptPatrick McDermott2019-07-292-1/+108
|
* build: Add test frameworkPatrick McDermott2019-07-296-1/+897
|
* s_client: Fix socket FD issuesPatrick McDermott2019-07-291-1/+2
| | | | | wolfSSL's error reporting and debugging messages were of no help in debugging this.
* s_client: Vertically align assignmentsPatrick McDermott2019-07-291-5/+5
|
* s_client: Slightly refactor socket connection funcPatrick McDermott2019-07-291-5/+5
|
* s_client: Poll, read, and write FDsPatrick McDermott2019-07-291-0/+88
|
* s_client: Open and connect socketPatrick McDermott2019-07-291-0/+54
|
* main(): Use EXIT_FAILURE instead of 1Patrick McDermott2019-07-291-1/+2
|
* s_client: Add option parsing and wolfSSL initPatrick McDermott2019-07-291-1/+109
|
* s_client: StubPatrick McDermott2019-07-284-2/+76
|
* Initial commitPatrick McDermott2019-07-2817-0/+1401