[packages] libsrtp:
- move srtp to libsrtp, rename package from srtp to libsrtp - use CONIGURE_ARGS instead of overriding Build/Configure - use PKG_INSTALL instead of overriding Build/Compile - refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/packages@29808 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
33
libs/libsrtp/patches/1005_fix_data_alignment.patch
Normal file
33
libs/libsrtp/patches/1005_fix_data_alignment.patch
Normal file
@ -0,0 +1,33 @@
|
||||
Description: Fix data alignment
|
||||
Author: "Martin Guy" <martinwguy@yahoo.it>
|
||||
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=470505
|
||||
Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1912057&group_id=38894&atid=423799
|
||||
Bug-Debian: http://bugs.debian.org/470505
|
||||
Last-Update: 2011-05-30
|
||||
--- a/test/srtp_driver.c
|
||||
+++ b/test/srtp_driver.c
|
||||
@@ -1129,7 +1129,6 @@ mips_estimate(int num_trials, int *ignor
|
||||
* These packets were made with the default SRTP policy.
|
||||
*/
|
||||
|
||||
-
|
||||
err_status_t
|
||||
srtp_validate() {
|
||||
unsigned char test_key[30] = {
|
||||
@@ -1144,14 +1143,14 @@ srtp_validate() {
|
||||
0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab,
|
||||
0xab, 0xab, 0xab, 0xab
|
||||
};
|
||||
- uint8_t srtp_plaintext[38] = {
|
||||
+ uint8_t srtp_plaintext[38] __attribute__((aligned(4))) = {
|
||||
0x80, 0x0f, 0x12, 0x34, 0xde, 0xca, 0xfb, 0xad,
|
||||
0xca, 0xfe, 0xba, 0xbe, 0xab, 0xab, 0xab, 0xab,
|
||||
0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab,
|
||||
0xab, 0xab, 0xab, 0xab, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
- uint8_t srtp_ciphertext[38] = {
|
||||
+ uint8_t srtp_ciphertext[38] __attribute__((aligned(4))) = {
|
||||
0x80, 0x0f, 0x12, 0x34, 0xde, 0xca, 0xfb, 0xad,
|
||||
0xca, 0xfe, 0xba, 0xbe, 0x4e, 0x55, 0xdc, 0x4c,
|
||||
0xe7, 0x99, 0x78, 0xd8, 0x8c, 0xa4, 0xd2, 0x15,
|
Reference in New Issue
Block a user