Commit graph

87 commits

Author SHA1 Message Date
vvaltman
8f84df8789 Fixed rsa pad 2014-09-09 20:50:07 +04:00
Vysheng
e6efa4097c Support for compilers without __builtin_bswap32 2014-09-09 15:34:59 +04:00
vvaltman
8f50bab9f0 Try to add support of libevent 1.4.* 2014-09-07 23:12:39 +04:00
vvaltman
548f4fe997 Added PFS support. Parallel auth_key generation. Small bug fixes 2014-08-29 17:33:15 +04:00
vvaltman
5e653e85c8 Fixed assert after hibernate 2014-08-27 03:17:28 +04:00
vvaltman
ab5b9c306f Fixed licenses. libtgl is now distributed under LGPL 2.1+ 2014-08-22 02:02:43 +04:00
vvaltman
0299a6375d changes 2014-08-21 07:24:52 +04:00
vvaltman
bd4e59b6ab updates 2014-08-21 02:33:19 +04:00
vvaltman
b1cbaa5105 many fixes 2014-08-15 02:16:01 +04:00
Vysheng
e0ded4a86c fixes 2014-08-15 18:57:43 +04:00
Vysheng
4a48059e8a many updates 2014-08-14 22:03:33 +04:00
vysheng
3dde03db86 more code 2014-08-14 01:31:24 +00:00
Vysheng
3b5458de54 fixes 2014-08-13 19:55:16 +04:00
Vysheng
cb95039f51 Some refactoring 2014-08-13 16:56:55 +04:00
Vysheng
bc1648a7c7 renamed user_chat_get to peer_get 2014-08-13 14:09:52 +04:00
vysheng
ddbe7ba88c Mant fixes. Sometimes work now 2014-08-13 01:22:15 +00:00
vysheng
c05bb2683e Some renaming 2014-08-12 21:51:16 +00:00
vysheng
143d672884 A bit working version 2014-08-12 21:32:11 +00:00
Vysheng
7741fe8da9 many changes 2014-08-12 19:15:04 +04:00
vysheng
a8fae1278f Updates 2014-08-12 09:59:59 +00:00
Dennis Koot
3fe6641dbe use the right .pub file since commit #ff14a08d53ac9e223ffada8a41e69ebb673aa7d7 changed tg.pub to tg-server.pub 2014-03-21 16:34:06 +01:00
mk-pmb
eb7ce437af Enhance naming to show that the pubkey is the server's.
While I'm at it, also label the magic constants for prng_seed
to avoid confusion with srand(0).
2014-03-11 15:10:19 +01:00
vysheng
2d7fbe769e added support for update_dc 2014-03-07 23:15:57 +04:00
Dmitrij D. Czarkoff
333f48e826 Added support for OpenBSD 2014-02-25 16:42:37 +01:00
Vysheng
73a48816e4 Added /etc/telegram/server.pub as default server public key place 2014-02-04 20:35:16 +04:00
Vysheng
e10ce5aa69 Use tree for peer_name search 2014-01-31 20:03:40 +04:00
Vysheng
f42ef2de5f mtproto-client: do not use TCPQUICKACK in cygwin 2014-01-30 15:45:01 +04:00
vysheng
59e9053910 Deleted aio.h include 2014-01-27 19:10:02 +04:00
antma
ceb9422ae9 add check that BN_is_prime return value is not negative
fix memory leak (BN_clear doesn't release allocated memory)
2014-01-21 18:24:40 +04:00
antma
c91d47839c improve portability by removing rdtsc calls
https://github.com/vysheng/tg/issues/8
2014-01-15 19:29:26 +04:00
antma
eb2bc7f0ff fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
vysheng
0a9532dc48 Merge branch 'master' of https://github.com/antma/tg
Conflicts:
	tools.c
2014-01-10 21:16:26 +04:00
antma
afdcd9b7df fix missed inflateEnd call and enhance handling inflate return value 2014-01-10 20:54:47 +04:00
vysheng
feed5229b5 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
antma
bb24fba98f check return values of strdup and malloc
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00
Vysheng
e416d5cf7e Merge github.com:vysheng/tg 2014-01-02 22:53:58 +04:00
Vysheng
2cfe58c1a9 fixed acks 2014-01-02 22:52:41 +04:00
vysheng
5cde89b5c8 do_rand () renamed to secure_random () 2013-12-25 04:44:36 +04:00
vysheng
f8793376a5 Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats) 2013-12-25 03:42:05 +04:00
vysheng
73b17ee19d Added more checks on g_a and g 2013-12-24 15:29:18 +04:00
Vysheng
59a82bbfe9 Additional checks in DH 2013-12-23 14:45:40 +04:00
Vysheng
89ee6e1002 Support for g!=2 in DH 2013-12-23 14:09:57 +04:00
vysheng
20f1c7629b Merge BSD-fixed from lwhsu 2013-12-20 17:57:00 +04:00
vysheng
6e39eead6f Merge https://github.com/lwhsu/tg 2013-12-20 17:44:30 +04:00
Vysheng
e439bef899 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00
vysheng
3b033ea3ff Added dump packets to file 2013-12-18 19:21:49 +04:00
Li-Wen Hsu
bb53f75e2b Make it compile on FreeBSD. 2013-12-17 02:30:36 +08:00
Vysheng
1198159162 Fixed bug 2013-12-06 20:40:52 +04:00
Vysheng
ae29e1d933 Many fixes. 2013-12-02 21:19:08 +04:00
Vysheng
ee1f45ec3d Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00