summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2011-05-10 18:27:38 +0300
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2011-05-13 18:39:09 +0300
commitc63db60141b7330cca797e601e2f1d39343191fd (patch)
tree7a2a720e6b4175c08147927fa094c8b6fc9c1980
parentc226a317353c19f2987f037bc98229a33e4bde95 (diff)
Verify TLS certificates
-rw-r--r--src/sip-connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sip-connection.c b/src/sip-connection.c
index 911fbd6..3651f13 100644
--- a/src/sip-connection.c
+++ b/src/sip-connection.c
@@ -49,6 +49,7 @@
#include "sip-connection-sofia.h"
#include <sofia-sip/msg_header.h>
+#include <sofia-sip/tport_tag.h>
#define DEBUG_FLAG TPSIP_DEBUG_CONNECTION
#include "debug.h"
@@ -929,6 +930,7 @@ tpsip_connection_start_connecting (TpBaseConnection *base,
NUTAG_AUTOANSWER(0),
NUTAG_APPL_METHOD("MESSAGE"),
SIPTAG_ALLOW_STR("INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE"),
+ TPTAG_TLS_VERIFY_POLICY(TPTLS_VERIFY_ALL),
TAG_NULL());
if (priv->sofia_nua == NULL)
{