summaryrefslogtreecommitdiff
path: root/data/raop-play/encrypt.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/raop-play/encrypt.diff')
-rw-r--r--data/raop-play/encrypt.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/raop-play/encrypt.diff b/data/raop-play/encrypt.diff
new file mode 100644
index 000000000..4df1e461e
--- /dev/null
+++ b/data/raop-play/encrypt.diff
@@ -0,0 +1,21 @@
+diff -ru raop_play-0.5.1/raop_play/raop_client.c raop_play-0.5.1+iPhone/raop_play/raop_client.c
+--- raop_play-0.5.1/raop_play/raop_client.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/raop_client.c 2008-12-06 03:45:11.000000000 +0000
+@@ -93,7 +93,7 @@
+ return size;
+ }
+
+-static int encrypt(raopcl_data_t *raopcld, __u8 *data, int size)
++static int _encrypt(raopcl_data_t *raopcld, __u8 *data, int size)
+ {
+ __u8 *buf;
+ //__u8 tmp[16];
+@@ -260,7 +260,7 @@
+ raopcld->data[2]=len>>8;
+ raopcld->data[3]=len&0xff;
+ memcpy(raopcld->data+header_size,sample,count);
+- encrypt(raopcld, raopcld->data+header_size, count);
++ _encrypt(raopcld, raopcld->data+header_size, count);
+ len=count+header_size;
+ raopcld->wblk_remsize=count+header_size;
+ raopcld->wblk_wsize=0;