aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-cli/0001-change-public-key-location.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-01-27 13:31:40 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-01-27 13:31:51 +0000
commite8a7e94f5dd90fc180a019d925fe09baa99039d6 (patch)
treed4a8976eb3f97160b93bb92c6d04c4bff5a4831c /testing/telegram-cli/0001-change-public-key-location.patch
parent4027eb8f7da57af4d3353241a2f86807ee3b77ee (diff)
downloadaports-e8a7e94f5dd90fc180a019d925fe09baa99039d6.tar.bz2
aports-e8a7e94f5dd90fc180a019d925fe09baa99039d6.tar.xz
testing/telegram-cli: add public key
Diffstat (limited to 'testing/telegram-cli/0001-change-public-key-location.patch')
-rw-r--r--testing/telegram-cli/0001-change-public-key-location.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/telegram-cli/0001-change-public-key-location.patch b/testing/telegram-cli/0001-change-public-key-location.patch
new file mode 100644
index 0000000000..5569879e66
--- /dev/null
+++ b/testing/telegram-cli/0001-change-public-key-location.patch
@@ -0,0 +1,25 @@
+From 193dbf82809b5ed5db8f8c37c315592d529ee37a Mon Sep 17 00:00:00 2001
+From: Carlo Landmeter <clandmeter@gmail.com>
+Date: Mon, 27 Jan 2014 13:26:44 +0000
+Subject: [PATCH] change public key location
+
+---
+ mtproto-client.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mtproto-client.c b/mtproto-client.c
+index 06ddfdc..4279512 100644
+--- a/mtproto-client.c
++++ b/mtproto-client.c
+@@ -129,7 +129,7 @@ int Response_len;
+ *
+ */
+
+-char *rsa_public_key_name = "tg.pub";
++char *rsa_public_key_name = "/usr/share/telegram/tg.pub";
+ RSA *pubKey;
+ long long pk_fingerprint;
+
+--
+1.8.5.3
+