antma
70441cfcdf
replace sprintf call with snprintf for open image command
2014-01-10 16:15:59 +04:00
antma
206fa43232
replace sprintf call with snprintf for downloaded part name
2014-01-10 16:05:39 +04:00
antma
e1c750ad7f
add length modifier to the format for strings in sprintf call
2014-01-10 15:59:48 +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
df3dc01306
Fixed CE
2013-12-25 13:07:10 +04:00
vysheng
cb29ce4523
Some other things changed to secure_random
2013-12-25 12:56:46 +04:00
vysheng
5ea4683d16
Fixed secure random.
2013-12-25 12:35:13 +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
3421589432
Support for layer 11
2013-12-24 04:57:01 +04:00
Vysheng
0396571877
DH: added check for bad prime in encr chats
2013-12-23 15:13:43 +04:00
Vysheng
b13434e378
Fixed check g_a in encr chats
2013-12-23 15:10:53 +04:00
Vysheng
64a804ffc5
Merge github.com:vysheng/tg
2013-12-23 14:46:16 +04:00
Vysheng
89ee6e1002
Support for g!=2 in DH
2013-12-23 14:09:57 +04:00
vysheng
9b67354294
Added safe_quit query. Useful in pipe mode
2013-12-21 15:53:32 +04:00
Vysheng
03bd7f55a9
Fixed bug in document loading
2013-12-20 19:45:59 +04:00
Vysheng
e439bef899
added /read and /history in chat_with_peer mode
2013-12-20 02:50:31 +04:00
Vysheng
4e2e651e2a
Added chat_with_peer command
2013-12-06 21:14:41 +04:00
Vysheng
6d56e0e644
fixed binlog problems. Set lock on binlog
2013-11-30 03:15:10 +04:00
Vysheng
b7a2732c30
Merge github.com:vysheng/tg
2013-11-30 01:44:16 +04:00
Vysheng
ee1f45ec3d
Manty fixes. Mostly binlog for messages
2013-11-30 01:43:56 +04:00
Dann Luciano
639160bc75
Added open support in OS X.
2013-11-29 19:33:05 -02:00
Vysheng
698004d92d
Added [offline] modifier
2013-11-25 21:16:34 +04:00
Vysheng
2362d88266
added chat info to binlog
2013-11-25 20:13:36 +04:00
Vysheng
4c740e0bd4
Fixed binlog. Added state file to binlog
2013-11-22 01:40:31 +04:00
Vysheng
575fb9b001
Merge github.com:vysheng/tg
2013-11-21 23:36:05 +04:00
Vysheng
849d6a33a6
Sometimes new binlog works
2013-11-21 23:35:49 +04:00
vysheng
31440ea387
Updated: layer10
2013-11-19 21:02:02 +04:00
vysheng
b23186b4e1
Merge github.com:vysheng/tg
...
Conflicts:
interface.c
2013-11-19 21:01:18 +04:00
Vysheng
c41a38924a
Fixed small bugs. Fixed login
2013-11-16 17:04:53 +04:00
vysheng
451f4134a0
Merge github.com:vysheng/tg
2013-11-15 14:37:34 +04:00
vysheng
a1ea8bd69c
Added full support for layer 10
2013-11-15 14:37:14 +04:00
Vysheng
f3edaaa346
Partial support for binlog. It now can track user, secret chat and auth updates.
2013-11-15 04:08:24 +04:00
vysheng
b93c9549f2
Added files for binlog
2013-11-13 04:11:25 +04:00
Vysheng
fab86252e1
Supoort for layer 10
2013-11-12 19:47:41 +04:00
vysheng
1c6e84b999
Fixed bug in read config
2013-11-11 22:35:31 +04:00
vysheng
4fdb69a85f
Maybe it would compile on mac now
2013-11-11 15:34:45 +04:00
vysheng
70f14b4f45
fixed small bug in msg send to not a contact
2013-11-11 02:33:03 +04:00
vysheng
e297e27118
Added queries online/offline/contacts_search
2013-11-09 13:51:07 +04:00
vysheng
92b65f2dc0
Added libconfig to parse config. Something fixed in net
2013-11-08 22:58:28 +04:00
vysheng
87a35ca588
Some fixes in network
2013-11-07 22:31:58 +04:00
vysheng
6360eeb7dd
Fixes some bugs in network
2013-11-07 21:37:12 +04:00
vysheng
d95af09b30
Added queries to add/delete user to group
2013-11-07 04:08:16 +04:00
vysheng
cd775dc273
Added global_search query
2013-11-07 03:12:40 +04:00
vysheng
032755e277
Fixed interface in suggested contacts query
2013-11-07 02:52:00 +04:00
vysheng
dd3fb59dbe
Add suggested contacts query
2013-11-07 02:46:17 +04:00
vysheng
0807d07918
Merge github.com:vysheng/tg
2013-11-07 02:18:04 +04:00
vysheng
bb1df969fb
Some bugfixes. Add small thumb file to sent video
2013-11-07 02:16:46 +04:00
Vysheng
a540256a20
Changed colors in visualize key
2013-11-06 18:00:31 +04:00