io: tls: fix context creation prototype
@@ -59,7 +59,13 @@ struct flb_tls {
struct flb_tls_context *context;
};
-struct flb_tls_context *flb_tls_context_new();
+struct flb_tls_context *flb_tls_context_new(int verify,
+ int debug,
+ char *vhost,
+ char *ca_path,
+ char *ca_file, char *crt_file,
+ char *key_file, char *key_passwd);
+
void flb_tls_context_destroy(struct flb_tls_context *ctx);
int flb_tls_session_destroy(struct flb_tls_session *session);
int net_io_tls_handshake(void *u_conn, void *th);
