srtp_deinit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'm working on building the Debian package based on a recent SVN
snapshot rather than the exteernal git repo. At first glance things seem
OK.

I ran into a few issues. Here's one of them.

I get an error regarding the use of srtp_deinit(). It seems that the
internal third_party/srtp/ uses a function called srtp_deinit which is
not part of srtp I have on my system.

At first glance it seems I can simply replace it with srtp_shutdown().
Is that a good idea?


--- a/pjmedia/src/pjmedia/transport_srtp.c
+++ b/pjmedia/src/pjmedia/transport_srtp.c
@@ -323,7 +323,7 @@ static void pjmedia_srtp_deinit_lib(pjme
 
     PJ_UNUSED_ARG(endpt);
 
-    err = srtp_deinit();
+    err = srtp_shutdown();
     if (err != err_status_ok) {
        PJ_LOG(4, (THIS_FILE, "Failed to deinitialize libsrtp: %s", 
                   get_libsrtp_errstr(err)));


-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux