Skip to content

Commit

Permalink
lib: Call flb_tls_init() to initialize OpenSSL
Browse files Browse the repository at this point in the history
This actually starts using the new API function, and hence makes
flb_tls.c compatible with OpenSSL v1.0.2.

Signed-off-by: Fujimoto Seiji <[email protected]>
  • Loading branch information
fujimotos authored and edsiper committed Jan 8, 2021
1 parent 9699daf commit 253433b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flb_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <fluent-bit/flb_time.h>
#include <fluent-bit/flb_coro.h>
#include <fluent-bit/flb_callback.h>
#include <fluent-bit/flb_tls.h>

#include <signal.h>
#include <stdarg.h>
Expand Down Expand Up @@ -106,6 +107,7 @@ static inline struct flb_filter_instance *filter_instance_get(flb_ctx_t *ctx,

void flb_init_env()
{
flb_tls_init();
flb_coro_init();
flb_output_prepare();
}
Expand Down

0 comments on commit 253433b

Please sign in to comment.