Commit 461029db authored by Simon Morlat's avatar Simon Morlat
Browse files

do not include polarssl in every .c

parent 7f236fa2
......@@ -19,13 +19,6 @@
#ifndef LISTENINGPOINT_INTERNAL_H_
#define LISTENINGPOINT_INTERNAL_H_
#ifdef HAVE_TLS
#include "gnutls/openssl.h"
#endif
#ifdef HAVE_POLARSSL
#include <polarssl/ssl.h>
#endif
BELLE_SIP_DECLARE_CUSTOM_VPTR_BEGIN(belle_sip_listening_point_t,belle_sip_object_t)
const char *transport;
......
......@@ -21,6 +21,8 @@
#ifdef HAVE_POLARSSL
#include <polarssl/ssl.h>
/* Uncomment to get very verbose polarssl logs*/
//#define ENABLE_POLARSSL_LOGS
......
......@@ -20,6 +20,8 @@
#ifdef HAVE_POLARSSL
#include <polarssl/ssl.h>
static void belle_sip_tls_listening_point_uninit(belle_sip_tls_listening_point_t *lp){
belle_sip_free(lp->root_ca);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment