Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bzrtp for openSUSE:Factory checked 
in at 2021-07-18 23:44:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bzrtp (Old)
 and      /work/SRC/openSUSE:Factory/.bzrtp.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bzrtp"

Sun Jul 18 23:44:56 2021 rev:23 rq:906258 version:5.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bzrtp/bzrtp.changes      2021-06-25 
15:01:10.924140168 +0200
+++ /work/SRC/openSUSE:Factory/.bzrtp.new.2632/bzrtp.changes    2021-07-18 
23:45:07.762962869 +0200
@@ -1,0 +2,5 @@
+Wed Jul 14 08:33:49 UTC 2021 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to 5.0.0, no changelog
+
+-------------------------------------------------------------------

Old:
----
  bzrtp-4.5.20.tar.bz2

New:
----
  bzrtp-5.0.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bzrtp.spec ++++++
--- /var/tmp/diff_new_pack.jMijS8/_old  2021-07-18 23:45:08.282958870 +0200
+++ /var/tmp/diff_new_pack.jMijS8/_new  2021-07-18 23:45:08.282958870 +0200
@@ -18,7 +18,7 @@
 
 %define sover   0
 Name:           bzrtp
-Version:        4.5.20
+Version:        5.0.0
 Release:        0
 Summary:        ZRTP keys exchange protocol implementation
 License:        GPL-3.0-or-later

++++++ bzrtp-4.5.20.tar.bz2 -> bzrtp-5.0.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bzrtp-4.5.20/CMakeLists.txt 
new/bzrtp-5.0.0/CMakeLists.txt
--- old/bzrtp-4.5.20/CMakeLists.txt     2021-01-07 21:55:30.000000000 +0100
+++ new/bzrtp-5.0.0/CMakeLists.txt      2021-06-11 11:31:09.000000000 +0200
@@ -22,7 +22,7 @@
 
 cmake_minimum_required(VERSION 3.1)
 
-project(bzrtp VERSION 4.5.0 LANGUAGES C CXX)
+project(bzrtp VERSION 5.0.0 LANGUAGES C CXX)
 
 option(ENABLE_SHARED "Build shared library." YES)
 option(ENABLE_STATIC "Build static library." YES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bzrtp-4.5.20/include/bzrtp/bzrtp.h 
new/bzrtp-5.0.0/include/bzrtp/bzrtp.h
--- old/bzrtp-4.5.20/include/bzrtp/bzrtp.h      2021-01-07 21:55:30.000000000 
+0100
+++ new/bzrtp-5.0.0/include/bzrtp/bzrtp.h       2021-06-11 11:31:09.000000000 
+0200
@@ -237,6 +237,8 @@
  */
 BZRTP_EXPORT int bzrtp_initBzrtpContext(bzrtpContext_t *context, uint32_t 
selfSSRC);
 
+BZRTP_EXPORT void bzrtp_resetBzrtpContext(bzrtpContext_t *context);
+
 /**
  * Free memory of context structure to a channel, if all channels are freed, 
free the global zrtp context
  * @param[in]  context         Context hosting the channel to be 
destroyed.(note: the context zrtp context itself is destroyed with the last 
channel)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bzrtp-4.5.20/src/bzrtp.c new/bzrtp-5.0.0/src/bzrtp.c
--- old/bzrtp-4.5.20/src/bzrtp.c        2021-01-07 21:55:30.000000000 +0100
+++ new/bzrtp-5.0.0/src/bzrtp.c 2021-06-11 11:31:09.000000000 +0200
@@ -174,6 +174,17 @@
 #endif /* ZIDCACHE_ENABLED */
 }
 
+void bzrtp_resetBzrtpContext(bzrtpContext_t *context) {
+       int i;
+       for (i=0; i<ZRTP_MAX_CHANNEL_NUMBER; i++) {
+               if (context->channelContext[i]) {
+                       void * clientData = 
context->channelContext[i]->clientData;
+                       bzrtp_initChannelContext(context, 
context->channelContext[i], context->channelContext[i]->selfSSRC, 
context->channelContext[i]->isMainChannel);
+                       context->channelContext[i]->clientData = clientData;
+               }
+       }
+}
+
 /**
  * @brief Perform some initialisation which can't be done without some 
callback functions:
  *  This function is called once per session when the first channel is created.

Reply via email to