Skip to content

Commit

Permalink
Fix: Check crts path too.
Browse files Browse the repository at this point in the history
  • Loading branch information
ishkhan42 committed Apr 13, 2023
1 parent bc0dd92 commit faf92a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ void ujrpc_init(ujrpc_config_t* config_inout, ujrpc_server_t* server_out) {
config.max_callbacks = 128u;
if (!config.interface)
config.interface = "0.0.0.0";
if (config.use_ssl && !(config.ssl_pk_path || config.ssl_crts_cnt))
if (config.use_ssl && !(config.ssl_pk_path || config.ssl_crts_path || config.ssl_crts_cnt))
return;

// Some limitations are hard-coded for this non-concurrent implementation
Expand Down

0 comments on commit faf92a6

Please sign in to comment.