use the right .pub file since commit #ff14a08d53ac9e223ffada8a41e69ebb673aa7d7 changed tg.pub to tg-server.pub

This commit is contained in:
Dennis Koot 2014-03-21 16:29:53 +01:00
parent 8f4f808d32
commit a8affb9f78
4 changed files with 6 additions and 6 deletions

View File

@ -79,9 +79,9 @@ Si logras ejecutarlo en otros UNIX, por favor házmelo saber.
./telegram -k <clave-servidor-público>
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.

View File

@ -82,9 +82,9 @@ If you manage to launch it on other UNIX, please let me know.
./telegram -k <public-server-key>
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.

View File

@ -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;

View File

@ -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