Commit 67daf24
Add -framework Security to fix linker error for sec_protocol_options_set_verify_block
The TLS verify block in connectToHost:onPort:withTimeout:error: uses
sec_protocol_options_set_verify_block from the Security framework,
which was not linked in the CI build command. Also updated build
instructions in main.m comment and README.md to include the required
-fobjc-arc, -framework Network, and -framework Security flags.
Co-authored-by: dustturtle <2305214+dustturtle@users.noreply.github.com>1 parent ef15a7e commit 67daf24
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
0 commit comments