-I$(top_srcdir)/src/lib-index \
-I$(top_srcdir)/src/lib-mail \
-I$(top_srcdir)/src/lib-storage \
+ -I$(top_srcdir)/src/lib-ssl-iostream \
-I$(top_srcdir)/src/plugins/notify
NOPLUGIN_LDFLAGS =
#include "mail-storage-private.h"
#include "str.h"
#include "strescape.h"
+#include "iostream-ssl.h"
#include "push-notification-drivers.h"
#include "push-notification-event-messagenew.h"
struct push_notification_driver_ox_config *config)
{
struct http_client_settings http_set;
+ struct ssl_iostream_settings ssl_set;
if (ox_global->http_client == NULL) {
/* this is going to use the first user's settings, but these are
http_set.max_attempts = config->http_max_retries+1;
http_set.request_timeout_msecs = config->http_timeout_msecs;
+ i_zero(&ssl_set);
+ mail_user_init_ssl_client_settings(user, &ssl_set);
+ http_set.ssl = &ssl_set;
+
ox_global->http_client = http_client_init(&http_set);
}
}