[Asterisk-bsd] LibSRTP
Dr. Rich Murphey
asterisk-bsd@lists.digium.com
Sun, 13 Jun 2004 21:19:16 -0500
This makes the regression tests pass. I've sent a note to the author asking
if this is appropriate for the test.
diff -rub ../srtp.orig/test/srtp_driver.c ./test/srtp_driver.c
--- ../srtp.orig/test/srtp_driver.c Wed May 5 10:13:27 2004
+++ ./test/srtp_driver.c Sun Jun 13 21:04:20 2004
@@ -1049,13 +1049,13 @@
* check for false negatives by removing stream 0x1, then
* searching for streams 0x0 and 0x2
*/
- status = srtp_remove_stream(session, 0x1);
+ status = srtp_remove_stream(session, htonl(0x1));
if (status != err_status_ok)
return err_status_fail;
- stream = srtp_get_stream(session, 0x0);
+ stream = srtp_get_stream(session, htonl(0x0));
if (stream == NULL)
return err_status_fail;
- stream = srtp_get_stream(session, 0x2);
+ stream = srtp_get_stream(session, htonl(0x2));
if (stream == NULL)
return err_status_fail;
aka:
http://www.whiteoaklabs.com/code/srtp-1.3.20.dif.txt
Cheers,
Rich
> -----Original Message-----
> From: asterisk-bsd-admin@lists.digium.com [mailto:asterisk-bsd-
> admin@lists.digium.com] On Behalf Of Dr. Rich Murphey
> Sent: Sunday, June 13, 2004 5:58 PM
> To: asterisk-bsd@lists.digium.com
> Subject: RE: [Asterisk-bsd] LibSRTP
>
> It compiles on FreeBSD 5.2.1, but at first glance fails one of the
> regression tests:
>
> testing srtp_remove_stream()...failed
>
> Cheers,
> Rich
>
>
> > -----Original Message-----
> > From: asterisk-bsd-admin@lists.digium.com [mailto:asterisk-bsd-
> > admin@lists.digium.com] On Behalf Of Olle E. Johansson
> > Sent: Sunday, June 13, 2004 3:45 PM
> > To: asterisk-bsd@lists.digium.com
> > Subject: [Asterisk-bsd] LibSRTP
> >
> > http://bugs.digium.com/bug_view_page.php?bug_id=0001642
> >
> > Anyone that have had time to test if libsrtp compiles on FreeBSD? I see
> a
> > note that
> > it requires a Linux kernel module - cryptography...
> >
> > /O
> > _______________________________________________
> > Asterisk-BSD mailing list
> > Asterisk-BSD@lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> >
>
>
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>