summaryrefslogtreecommitdiff
path: root/community/clamz
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-02 13:41:57 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-02 13:41:57 +0000
commit9343f37ee7ba1aa98f65272412d331a280890e12 (patch)
treea4bf1207d01a10e5cf246f1a4755086280f47b70 /community/clamz
parent37a1064b8105764414f279ced442e6ba2f63bea1 (diff)
Wed Nov 2 13:41:53 UTC 2011
Diffstat (limited to 'community/clamz')
-rw-r--r--community/clamz/unencrypted-amz.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/community/clamz/unencrypted-amz.patch b/community/clamz/unencrypted-amz.patch
deleted file mode 100644
index 49b03ba8a..000000000
--- a/community/clamz/unencrypted-amz.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- playlist.c 2010-04-19 16:01:59.000000000 -0700
-+++ clamz-0.4/playlist.c 2011-10-18 20:35:39.850146353 -0700
-@@ -499,12 +499,21 @@
- {
- struct parseinfo pi;
- unsigned char *decrypted, *xml;
-- unsigned long decrypted_len;
-+ unsigned long decrypted_len, i;
- int xerr;
-
- decrypted = decrypt_amz_file(b64data, b64len, fname);
-- if (!decrypted)
-- return 1;
-+ if (!decrypted){
-+ // XXX Perhaps the code file is unencrypted already.
-+ decrypted = malloc((b64len + 1) * sizeof(char));
-+ if (!decrypted) {
-+ print_error("Out of memory");
-+ return 1;
-+ }
-+ for (i = 0; i < b64len; i++) {
-+ decrypted[i] = b64data[i];
-+ }
-+ }
- decrypted_len = strlen((char*) decrypted);
-
- pi.parser = XML_ParserCreate(NULL);