forked from bip/bip
1
0
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
Loïc Gomez c1ba6a8e8a
Allow checking ssl files are readable (check_ssl_files)
- adds a new check_path_exists() method to path_util
- move code checking if SSL-related files exist with assertions (thus
  causing a fatal error) to a new check_ssl_files() method, allowing for
  soft or hard fail modes

This will allow for non-fatal checks of SSL files existence on reload.

Signed-off-by: Loïc Gomez <bip@animanova.fr>
2024-03-20 22:29:15 +09:00
Pierre-Louis Bonicoli eaed46da14
Merge branch 'path_test_use_stat' 2018-03-22 02:37:38 +01:00
Pierre-Louis Bonicoli 025689d807
Merge branch 'dh_param_not_mandatory' 2018-03-22 02:37:23 +01:00
Pierre-Louis Bonicoli 7834471f78
default value isn't used when path doesn't exist 2018-03-22 02:33:25 +01:00
Pierre-Louis Bonicoli 3afb16d795
checking path: use stat
fopen was used because it's stdlib but stat is already used in other
parts
2018-03-21 11:54:20 +01:00
Pierre-Louis Bonicoli 348737fab5
Fix path construction
Thanks to Renzokuken for pointing that !
Closes #610
2018-03-21 11:09:48 +01:00
Pierre-Louis Bonicoli 6b38449875 Allow to set DH parameters 2016-11-07 17:50:20 +01:00