Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
de54c003
Commit
de54c003
authored
Oct 05, 2015
by
V V
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated tgl
parent
cde068c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile.tgl
Makefile.tgl
+1
-1
main.c
main.c
+2
-2
tgl
tgl
+1
-1
No files found.
Makefile.tgl
View file @
de54c003
TGL_OBJECTS
=
${
OBJ
}
/mtproto-common.o
${
OBJ
}
/mtproto-client.o
${
OBJ
}
/queries.o
${
OBJ
}
/structures.o
${
OBJ
}
/binlog.o
${
OBJ
}
/tgl.o
${
OBJ
}
/updates.o
${
OBJ
}
/tgl-net.o
${
OBJ
}
/tgl-timers.o
${
OBJ
}
/tg-mime-types.o
${
OBJ
}
/mtproto-utils.o
${
OBJ
}
/crypto/bn_openssl.o
${
OBJ
}
/crypto/bn_altern.o
${
OBJ
}
/crypto/rsa_pem_openssl.o
${
OBJ
}
/crypto/rsa_pem_altern.o
${
OBJ
}
/crypto/md5_openssl.o
${
OBJ
}
/crypto/md5_altern.o
${
OBJ
}
/crypto/sha_openssl.o
${
OBJ
}
/crypto/sha_altern.o
${
OBJ
}
/crypto/aes_openssl.o
${
OBJ
}
/crypto/aes_altern.o
TGL_OBJECTS
=
${
OBJ
}
/mtproto-common.o
${
OBJ
}
/mtproto-client.o
${
OBJ
}
/
mtproto-key.o
${
OBJ
}
/
queries.o
${
OBJ
}
/structures.o
${
OBJ
}
/binlog.o
${
OBJ
}
/tgl.o
${
OBJ
}
/updates.o
${
OBJ
}
/tgl-net.o
${
OBJ
}
/tgl-timers.o
${
OBJ
}
/tg-mime-types.o
${
OBJ
}
/mtproto-utils.o
${
OBJ
}
/crypto/bn_openssl.o
${
OBJ
}
/crypto/bn_altern.o
${
OBJ
}
/crypto/rsa_pem_openssl.o
${
OBJ
}
/crypto/rsa_pem_altern.o
${
OBJ
}
/crypto/md5_openssl.o
${
OBJ
}
/crypto/md5_altern.o
${
OBJ
}
/crypto/sha_openssl.o
${
OBJ
}
/crypto/sha_altern.o
${
OBJ
}
/crypto/aes_openssl.o
${
OBJ
}
/crypto/aes_altern.o
TGL_OBJECTS_AUTO
=
${
OBJ
}
/auto/auto-skip.o
${
OBJ
}
/auto/auto-fetch.o
${
OBJ
}
/auto/auto-store.o
${
OBJ
}
/auto/auto-autocomplete.o
${
OBJ
}
/auto/auto-types.o
${
OBJ
}
/auto/auto-fetch-ds.o
${
OBJ
}
/auto/auto-free-ds.o
${
OBJ
}
/auto/auto-store-ds.o
${
OBJ
}
/auto/auto-print-ds.o
TGL_OBJECTS_AUTO
=
${
OBJ
}
/auto/auto-skip.o
${
OBJ
}
/auto/auto-fetch.o
${
OBJ
}
/auto/auto-store.o
${
OBJ
}
/auto/auto-autocomplete.o
${
OBJ
}
/auto/auto-types.o
${
OBJ
}
/auto/auto-fetch-ds.o
${
OBJ
}
/auto/auto-free-ds.o
${
OBJ
}
/auto/auto-store-ds.o
${
OBJ
}
/auto/auto-print-ds.o
...
...
main.c
View file @
de54c003
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
#include "interface.h"
#include "interface.h"
#include <tgl/tools.h>
#include <tgl/tools.h>
#include <getopt.h>
#include <getopt.h>
#include <tgl/mtproto-key.h>
#ifdef USE_LUA
#ifdef USE_LUA
# include "lua-tg.h"
# include "lua-tg.h"
...
@@ -973,8 +974,7 @@ int main (int argc, char **argv) {
...
@@ -973,8 +974,7 @@ int main (int argc, char **argv) {
#endif
#endif
tgl_set_rsa_key
(
TLS
,
"tg-server.pub"
);
tgl_set_rsa_key
(
TLS
,
"tg-server.pub"
);
#include "tgl/mtproto-key.c"
tgl_set_rsa_key_direct
(
TLS
,
tglmp_get_default_e
(),
tglmp_get_default_key_len
(),
tglmp_get_default_key
());
tgl_set_rsa_key_direct
(
TLS
,
_mtproto_default_e
,
_mtproto_default_key_len
,
_mtproto_default_key
);
get_terminal_attributes
();
get_terminal_attributes
();
...
...
tgl
@
1789d778
Subproject commit
e092552313bcb97755c550552baa62b531b95203
Subproject commit
1789d7780d5a65ef53348845cd51db595d39835a
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment