- Fix #158: open tls-session-ticket-keys as binary, for Windows. By Daisuke

HIGASHI.
This commit is contained in:
Ralph Dolmans 2020-03-19 14:00:33 +01:00
parent 68eab24db7
commit 2c03028fa3
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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);