[reSIProcate] A fix for broken build with enabled SSL
- From: Dmitry Semyonov <dsemyonov@xxxxxxx>
- Date: Wed, 21 Jul 2004 20:21:53 +0400 (MSD)
Please, apply:
Index: resiprocate/sip/resiprocate/test/limpc.cxx
===================================================================
--- resiprocate/sip/resiprocate/test/limpc.cxx  (revision 3135)
+++ resiprocate/sip/resiprocate/test/limpc.cxx  (working copy)
@@ -760,8 +760,9 @@
 #ifdef USE_SSL
    try
    {
-      assert( sipStack.security );
-      bool ok = sipStack.security->loadAllCerts( key , Data::Empty );
+      Security *security = sipStack.getSecurity();
+      assert( security != NULL );
+      bool ok = security->loadAllCerts( key , Data::Empty );
       if ( !ok )
       {
          InfoLog( << "Could not load the certificates" );
...Bye..Dmitry.