[reSIProcate] [Patch] Fix build with DTLS enabled

Max Bowsher maxb at f2s.com
Sun Nov 23 18:15:16 CST 2008


Building resiprocate 1.4.1 with DTLS enabled, I came across a couple
of minor compile errors. Here is a patch to fix them:

diff -r 39b1e2d01b8f resip/stack/test/limpc.cxx
--- a/resip/stack/test/limpc.cxx	Mon Nov 24 00:13:13 2008 +0000
+++ b/resip/stack/test/limpc.cxx	Mon Nov 24 00:13:46 2008 +0000
@@ -870,7 +870,7 @@
       {
          if (!noV4)
          {
-            sipStack.addTransport(DTLS, dtlsPort, V4, Data::Empty, tlsDomain );
+            sipStack.addTransport(DTLS, dtlsPort, V4, StunDisabled, Data::Empty, tlsDomain );
          }
       }
    }
diff -r 39b1e2d01b8f resip/stack/test/testDtlsTransport.cxx
--- a/resip/stack/test/testDtlsTransport.cxx	Mon Nov 24 00:13:13 2008 +0000
+++ b/resip/stack/test/testDtlsTransport.cxx	Mon Nov 24 00:13:46 2008 +0000
@@ -13,6 +13,7 @@
 #include "resip/stack/SipMessage.hxx"
 #include "resip/stack/SipStack.hxx"
 #include "resip/stack/Uri.hxx"
+#include "resip/stack/ssl/Security.hxx"

 using namespace resip;
 using namespace std;


Max.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20081124/0fb004d5/attachment.sig>


More information about the resiprocate-devel mailing list