summaryrefslogtreecommitdiff
path: root/data/raop-play/encrypt.diff
blob: 4df1e461ef4f335c87fafd229258f14eefb6c300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;