Skip to content

Commit a8affb9

Browse files
committed
use the right .pub file since commit #ff14a08d53ac9e223ffada8a41e69ebb673aa7d7 changed tg.pub to tg-server.pub
1 parent 8f4f808 commit a8affb9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.es

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ Si logras ejecutarlo en otros UNIX, por favor házmelo saber.
7979
./telegram -k <clave-servidor-público>
8080

8181

82-
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:
82+
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:
8383

84-
./telegram -k tg.pub
84+
./telegram -k tg-server.pub
8585

8686
El Cliente soporta completamiento con TAB e historial de comandos.
8787

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ If you manage to launch it on other UNIX, please let me know.
8282

8383
./telegram -k <public-server-key>
8484

85-
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:
85+
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:
8686

87-
./telegram -k tg.pub
87+
./telegram -k tg-server.pub
8888

8989
Client support TAB completion and command history.
9090

mtproto-client.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ int Response_len;
131131
*
132132
*/
133133

134-
#define TG_SERVER_PUBKEY_FILENAME "tg.pub"
134+
#define TG_SERVER_PUBKEY_FILENAME "tg-server.pub"
135135
char *rsa_public_key_name; // = TG_SERVER_PUBKEY_FILENAME;
136136
RSA *pubKey;
137137
long long pk_fingerprint;

telegram-cli.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ make %{?_smp_mflags}
3333
cd %{name}
3434
cd tg-master
3535
%{__install} -D -m0755 telegram %{buildroot}/usr/bin/telegram
36-
%{__install} -D -m0644 tg.pub %{buildroot}/etc/telegram/server.pub
36+
%{__install} -D -m0644 tg-server.pub %{buildroot}/etc/telegram/server.pub
3737

3838
%files
3939
/usr/bin/telegram

0 commit comments

Comments
 (0)