Skip to content

Commit

Permalink
Fix refused startup with openssl <1.1 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Mauchle committed May 31, 2021
1 parent d881d39 commit 895b0ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
unreleased changes
Bug Fixes:
- Fix refused startup with openssl <1.1 (#82)

2021-05-28 1.9.0
New features:
- Accept multiple source* configs for IPv4/v6
Expand Down
2 changes: 2 additions & 0 deletions tlscommon.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,10 @@ int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *v
dtlsversion = NULL;
}
#else
if (tlsversion || dtlsversion) {
debug(DBG_ERR, "error in block %s, setting tls/dtls version requires openssl 1.1.0 or later", val);
goto errexit;
}
#endif

if (dhfile) {
Expand Down

0 comments on commit 895b0ba

Please sign in to comment.