Commit a8affb9f authored by Dennis Koot's avatar Dennis Koot

use the right .pub file since commit #ff14a08d...

use the right .pub file since commit #ff14a08d changed tg.pub to tg-server.pub
parent 8f4f808d
...@@ -79,9 +79,9 @@ Si logras ejecutarlo en otros UNIX, por favor házmelo saber. ...@@ -79,9 +79,9 @@ Si logras ejecutarlo en otros UNIX, por favor házmelo saber.
./telegram -k <clave-servidor-público> ./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. El Cliente soporta completamiento con TAB e historial de comandos.
......
...@@ -82,9 +82,9 @@ If you manage to launch it on other UNIX, please let me know. ...@@ -82,9 +82,9 @@ If you manage to launch it on other UNIX, please let me know.
./telegram -k <public-server-key> ./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. Client support TAB completion and command history.
......
...@@ -131,7 +131,7 @@ int Response_len; ...@@ -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; char *rsa_public_key_name; // = TG_SERVER_PUBKEY_FILENAME;
RSA *pubKey; RSA *pubKey;
long long pk_fingerprint; long long pk_fingerprint;
......
...@@ -33,7 +33,7 @@ make %{?_smp_mflags} ...@@ -33,7 +33,7 @@ make %{?_smp_mflags}
cd %{name} cd %{name}
cd tg-master cd tg-master
%{__install} -D -m0755 telegram %{buildroot}/usr/bin/telegram %{__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 %files
/usr/bin/telegram /usr/bin/telegram
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment