mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-16 19:52:55 -05:00
- Fix #158: open tls-session-ticket-keys as binary, for Windows. By Daisuke
HIGASHI.
This commit is contained in:
parent
68eab24db7
commit
2c03028fa3
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
19 March 2020: Ralph
|
||||
- Merge PR#191: Update iOS testing on Travis, by Jeffrey Walton.
|
||||
- Fix #158: open tls-session-ticket-keys as binary, for Windows. By
|
||||
Daisuke HIGASHI.
|
||||
|
||||
16 March 2020: Wouter
|
||||
- Fix #192: In the unbound-checkconf tool, the module config of
|
||||
|
|
|
|||
|
|
@ -1362,7 +1362,7 @@ int listen_sslctx_setup_ticket_keys(void* sslctx, struct config_strlist* tls_ses
|
|||
if(!data)
|
||||
return 0;
|
||||
|
||||
f = fopen(p->str, "r");
|
||||
f = fopen(p->str, "rb");
|
||||
if(!f) {
|
||||
log_err("could not read tls-session-ticket-key %s: %s", p->str, strerror(errno));
|
||||
free(data);
|
||||
|
|
|
|||
Loading…
Reference in a new issue