]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove these for now
authorBrian West <brian@freeswitch.org>
Fri, 22 May 2009 20:17:07 +0000 (20:17 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 22 May 2009 20:17:07 +0000 (20:17 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13428 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index f2514b815074df9759ca8173297f0f363b3d290d..a4bb285c785b6c21400f04fc3179d4fc7e4d77cd 100644 (file)
@@ -71,7 +71,6 @@ typedef srtp_hdr_t rtp_hdr_t;
 static zrtp_global_t *zrtp_global;
 static zrtp_zid_t zid = { "FreeSWITCH01" };
 static int zrtp_on = 0;
-#define SECRET_NEVER_EXPIRES 0xFFFFFFFF
 #endif
 
 #ifdef _MSC_VER
@@ -1049,8 +1048,6 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session
                zrtp_profile_defaults(rtp_session->zrtp_profile, zrtp_global);
 
                rtp_session->zrtp_profile->allowclear = 1;
-               rtp_session->zrtp_profile->cache_ttl = SECRET_NEVER_EXPIRES; 
-               rtp_session->zrtp_profile->disclose_bit = 0;
        
                if (zrtp_status_ok != zrtp_session_init(zrtp_global, rtp_session->zrtp_profile, zid, 1, &rtp_session->zrtp_session)) {
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error! zRTP INIT Failed\n");