vvaltman
b9cf49e96f
Hardcoded default ip's for all DC
2014-09-27 21:58:28 +04:00
Vysheng
9cebc24d8b
mtproto-client: fixed bad bignum pad
2014-09-23 18:59:28 +04:00
Vysheng
df06d0858b
Some more clear
2014-09-23 17:18:42 +04:00
Vysheng
c03d91a574
Fixed small memory leaks. Added functions to clear most part of data
2014-09-23 16:58:49 +04:00
vvaltman
e615891d88
Small bugfixes
2014-09-22 01:00:46 +04:00
vvaltman
ff97f2a424
rewitten input parse
2014-09-18 01:03:20 +04:00
vvaltman
5cb5b1cfd2
Run get_differece on new_session_created
2014-09-15 12:45:17 +04:00
vvaltman
ce61adac12
Fixed send_photo to encr chats
2014-09-12 00:57:59 +04:00
vvaltman
98dfe80ca1
Fixed rsa pad
2014-09-09 20:50:07 +04:00
Vysheng
442f0911f2
Support for compilers without __builtin_bswap32
2014-09-09 15:34:59 +04:00
vvaltman
9f8828fc6a
Try to add support of libevent 1.4.*
2014-09-07 23:12:39 +04:00
vvaltman
e179f25fe9
Added PFS support. Parallel auth_key generation. Small bug fixes
2014-08-29 17:33:15 +04:00
vvaltman
918694278a
Fixed assert after hibernate
2014-08-27 03:17:28 +04:00
vvaltman
e57b7064bb
Fixed licenses. libtgl is now distributed under LGPL 2.1+
2014-08-22 02:02:43 +04:00
vvaltman
d33d24d1f0
changes
2014-08-21 07:24:52 +04:00
vvaltman
f3636ced4c
updates
2014-08-21 02:33:19 +04:00
vvaltman
cedc1d17d4
many fixes
2014-08-15 02:16:01 +04:00
Vysheng
e2e7d0c906
fixes
2014-08-15 18:57:43 +04:00
Vysheng
b12ca53816
many updates
2014-08-14 22:03:33 +04:00
vysheng
fe08f0c5e7
more code
2014-08-14 01:31:24 +00:00
Vysheng
bf86f75604
fixes
2014-08-13 19:55:16 +04:00
Vysheng
418cad58d1
Some refactoring
2014-08-13 16:56:55 +04:00
Vysheng
9959c0589f
renamed user_chat_get to peer_get
2014-08-13 14:09:52 +04:00
vysheng
d3780ebeff
Mant fixes. Sometimes work now
2014-08-13 01:22:15 +00:00
vysheng
8dd17ec6bc
Some renaming
2014-08-12 21:51:16 +00:00
vysheng
a37e5f437e
A bit working version
2014-08-12 21:32:11 +00:00
Vysheng
337be90978
many changes
2014-08-12 19:15:04 +04:00
vysheng
811df367cd
Updates
2014-08-12 09:59:59 +00:00
Dennis Koot
a8affb9f78
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
ff14a08d53
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
447e094cfa
added support for update_dc
2014-03-07 23:15:57 +04:00
Dmitrij D. Czarkoff
f50ae8a80f
Added support for OpenBSD
2014-02-25 16:42:37 +01:00
Vysheng
12e8e5c7b7
Added /etc/telegram/server.pub as default server public key place
2014-02-04 20:35:16 +04:00
Vysheng
33d25bab99
Use tree for peer_name search
2014-01-31 20:03:40 +04:00
Vysheng
a52b55fef9
mtproto-client: do not use TCPQUICKACK in cygwin
2014-01-30 15:45:01 +04:00
vysheng
408c51e58f
Deleted aio.h include
2014-01-27 19:10:02 +04:00
antma
364fe4ebe4
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
22c1a41109
improve portability by removing rdtsc calls
...
https://github.com/vysheng/tg/issues/8
2014-01-15 19:29:26 +04:00
antma
e27a27c4a0
fix #include "config.h" for all source files
2014-01-13 17:05:25 +04:00
vysheng
77f56cfd57
Merge branch 'master' of https://github.com/antma/tg
...
Conflicts:
tools.c
2014-01-10 21:16:26 +04:00
antma
286ffe8c72
fix missed inflateEnd call and enhance handling inflate return value
2014-01-10 20:54:47 +04:00
vysheng
f06d3c1625
free->tfree. Memory checks, if compiled with -DDEBUG
2014-01-10 18:37:56 +04:00
antma
3795a77618
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
de70e4314c
Merge github.com:vysheng/tg
2014-01-02 22:53:58 +04:00
Vysheng
3c629b2263
fixed acks
2014-01-02 22:52:41 +04:00
vysheng
7a5fa39f84
do_rand () renamed to secure_random ()
2013-12-25 04:44:36 +04:00
vysheng
b2ba81e761
Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats)
2013-12-25 03:42:05 +04:00
vysheng
c496266598
Added more checks on g_a and g
2013-12-24 15:29:18 +04:00
Vysheng
1dcbce52e8
Additional checks in DH
2013-12-23 14:45:40 +04:00
Vysheng
664e6e1549
Support for g!=2 in DH
2013-12-23 14:09:57 +04:00