summaryrefslogtreecommitdiff
path: root/community/pidgin-encryption/fix_header_escaping.patch
blob: 84df67b1913e3222fadc5129b1309eefe48fb0a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- pidgin-encryption-3.0.orig/encrypt.c	2007-05-06 23:37:55.000000000 -0400
+++ pidgin-encryption-3.0.new/encrypt.c	2009-11-22 22:28:34.052010351 -0500
@@ -1114,21 +1114,21 @@ static void PE_headers_init() {
    notify_table = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
 
    g_hash_table_insert(header_table, g_strdup("prpl-toc"),
-                       g_strdup("*** Encrypted with the Gaim-Encryption plugin <A HREF=\""));
+                       g_strdup("--- Encrypted with the Gaim-Encryption plugin <A HREF=\""));
    g_hash_table_insert(footer_table, g_strdup("prpl-toc"),
                        g_strdup("\"></A>"));
    g_hash_table_insert(notify_table, g_strdup("prpl-toc"),
                        g_strdup("<A HREF=\"Gaim-Encryption Capable\"></A>"));
 
    g_hash_table_insert(header_table, g_strdup("prpl-oscar"),
-                       g_strdup("*** Encrypted with the Gaim-Encryption plugin <A HREF=\""));
+                       g_strdup("--- Encrypted with the Gaim-Encryption plugin <A HREF=\""));
    g_hash_table_insert(footer_table, g_strdup("prpl-oscar"),
                        g_strdup("\"></A>"));
    g_hash_table_insert(notify_table, g_strdup("prpl-oscar"),
                        g_strdup("<A HREF=\"Gaim-Encryption Capable\"></A>"));
 
    g_hash_table_insert(header_table, g_strdup("prpl-aim"),
-                       g_strdup("*** Encrypted with the Gaim-Encryption plugin <A HREF=\""));
+                       g_strdup("--- Encrypted with the Gaim-Encryption plugin <A HREF=\""));
    g_hash_table_insert(footer_table, g_strdup("prpl-aim"),
                        g_strdup("\"></A>"));
    g_hash_table_insert(notify_table, g_strdup("prpl-aim"),
@@ -1136,7 +1136,7 @@ static void PE_headers_init() {
 
 /* If jabber stops stripping HTML, we can go back to these headers */
 /*    g_hash_table_insert(header_table, g_strdup("prpl-jabber"), */
-/*                        g_strdup("*** Encrypted with the Gaim-Encryption plugin <A HREF='")); */
+/*                        g_strdup("--- Encrypted with the Gaim-Encryption plugin <A HREF='")); */
 /*    g_hash_table_insert(footer_table, g_strdup("prpl-jabber"), */
 /*                        g_strdup("'></A>")); */
 /*    g_hash_table_insert(notify_table, g_strdup("prpl-jabber"), */
@@ -1144,22 +1144,22 @@ static void PE_headers_init() {
 
 
    g_hash_table_insert(header_table, g_strdup("prpl-jabber"),
-                       g_strdup("*** Encrypted with the Gaim-Encryption plugin "));
+                       g_strdup("--- Encrypted with the Gaim-Encryption plugin "));
    g_hash_table_insert(footer_table, g_strdup("prpl-jabber"),
                        g_strdup(" "));
    g_hash_table_insert(notify_table, g_strdup("prpl-jabber"),
                        g_strdup("<A HREF='Gaim-Encryption Capable'> </A>"));
 
-   header_default = g_strdup("*** Encrypted :");
+   header_default = g_strdup("--- Encrypted :");
 }
 
-/* #define CRYPT_HEADER "*** Encrypted with the Gaim-Encryption plugin <A HREF=\"" */
+/* #define CRYPT_HEADER "--- Encrypted with the Gaim-Encryption plugin <A HREF=\"" */
 /* #define CRYPT_FOOTER "\"></A>" */
 /* #define CRYPT_NOTIFY_HEADER "<A HREF=\"Gaim-Encryption Capable\"></A>" */
 
 // Jabber seems to turn our double quotes into single quotes at times, so define
 // the same headers, only with single quotes.  Lengths MUST be the same as above
-/* #define CRYPT_HEADER_MANGLED "*** Encrypted with the Gaim-Encryption plugin <A HREF='" */
+/* #define CRYPT_HEADER_MANGLED "--- Encrypted with the Gaim-Encryption plugin <A HREF='" */
 /* #define CRYPT_NOTIFY_HEADER_MANGLED "<A HREF='Gaim-Encryption Capable'></A>" */