From a8affb9f785d7bb44de10f6a29bd1138e02c8fcc Mon Sep 17 00:00:00 2001 From: Dennis Koot Date: Fri, 21 Mar 2014 16:29:53 +0100 Subject: [PATCH] use the right .pub file since commit #ff14a08d53ac9e223ffada8a41e69ebb673aa7d7 changed tg.pub to tg-server.pub --- README.es | 4 ++-- README.md | 4 ++-- mtproto-client.c | 2 +- telegram-cli.spec | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.es b/README.es index 944a2a9..ede5809 100644 --- a/README.es +++ b/README.es @@ -79,9 +79,9 @@ Si logras ejecutarlo en otros UNIX, por favor házmelo saber. ./telegram -k -Por defecto la clave pública se almacena en la misma carpeta con el nombre tg.pub o en /etc/telegram/server.pub, si no lo es, indica dónde encontrarlo: +Por defecto la clave pública se almacena en la misma carpeta con el nombre tg-server.pub o en /etc/telegram/server.pub, si no lo es, indica dónde encontrarlo: - ./telegram -k tg.pub + ./telegram -k tg-server.pub El Cliente soporta completamiento con TAB e historial de comandos. diff --git a/README.md b/README.md index aa1a6bb..263a24e 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,9 @@ If you manage to launch it on other UNIX, please let me know. ./telegram -k -By default public key is stored in the same folder named tg.pub or in /etc/telegram/server.pub, if it's not, specify where to find it: +By default public key is stored in the same folder named tg-server.pub or in /etc/telegram/server.pub, if it's not, specify where to find it: - ./telegram -k tg.pub + ./telegram -k tg-server.pub Client support TAB completion and command history. diff --git a/mtproto-client.c b/mtproto-client.c index 13cf983..d19a26f 100644 --- a/mtproto-client.c +++ b/mtproto-client.c @@ -131,7 +131,7 @@ int Response_len; * */ -#define TG_SERVER_PUBKEY_FILENAME "tg.pub" +#define TG_SERVER_PUBKEY_FILENAME "tg-server.pub" char *rsa_public_key_name; // = TG_SERVER_PUBKEY_FILENAME; RSA *pubKey; long long pk_fingerprint; diff --git a/telegram-cli.spec b/telegram-cli.spec index 241e5b6..c187dc3 100644 --- a/telegram-cli.spec +++ b/telegram-cli.spec @@ -33,7 +33,7 @@ make %{?_smp_mflags} cd %{name} cd tg-master %{__install} -D -m0755 telegram %{buildroot}/usr/bin/telegram -%{__install} -D -m0644 tg.pub %{buildroot}/etc/telegram/server.pub +%{__install} -D -m0644 tg-server.pub %{buildroot}/etc/telegram/server.pub %files /usr/bin/telegram