Tatsuhiro Tsujikawa
3080af7370
Request: Remove previousUri_
...
Historically, the previousUri_ has different meaning from referer_,
but in the course of development, they have the same value. This
change remove previousUri_ in favor of referer_.
2013-10-01 21:53:28 +09:00
ITriskTI
667a4725e8
Update aria2c.rst
2013-10-01 10:32:05 +03:00
Nils Maier
1065f9d964
Document that AppleTLS, WinTLS does not support --ca-certitifcate
2013-09-30 16:49:32 +02:00
Nils Maier
41bee45792
Document WinTLS, AppleTLS, PKCS12 for --certificate
2013-09-30 16:49:10 +02:00
Nils Maier
3b35887827
WinTLS: Enable --certifcate support
2013-09-30 16:37:09 +02:00
Nils Maier
3b9a385305
AppleTLS: Enable --certificate
...
Tested against self-signed CA with nginx
2013-09-30 16:37:01 +02:00
Nils Maier
4c84af31be
WinTLS: Fix PKCS12 loading
...
It appears that, contrary to most documentation, CERT_CONTEXT* is eaten
alive by AcquireCredentialsHandle(). Hence you cannot really reuse that.
2013-09-30 16:36:15 +02:00
Tatsuhiro Tsujikawa
50ac6afe36
util.cc: Remove uselss inline static
2013-09-30 21:50:51 +09:00
Tatsuhiro Tsujikawa
b772aa6a5e
util::percentEncodeMini: Fix regression bug removed unsignedness
...
srange-based for around std::string is convenient but several
functions depend unsigned char for correctness and readability.
2013-09-30 21:32:57 +09:00
Nils Maier
9768aa9fad
WinTLS: Document PKCS12-only support.
2013-09-30 13:53:21 +02:00
Nils Maier
00dd83b461
Implement WinTLS
2013-09-30 13:53:21 +02:00
Nils Maier
3f1d293ed1
WinMessgeDigestImpl: gcc-4.6 does not support .emplace() yet
2013-09-29 15:47:22 +02:00
Tatsuhiro Tsujikawa
40e53de908
MessageDigestImpl.h: Simplify hash_info_t access
2013-09-28 23:40:06 +09:00
Tatsuhiro Tsujikawa
6f6a17bff7
Randomizer: Remove unused interfaces
2013-09-28 22:55:05 +09:00
Tatsuhiro Tsujikawa
986f69e5bf
SimpleRandomizer: Use std::random
2013-09-28 22:00:37 +09:00
Tatsuhiro Tsujikawa
44479c910e
Log exception; throw error if loading private key and/or certificate failed
2013-09-26 00:56:23 +09:00
Tatsuhiro Tsujikawa
7f18494a8c
SimpleRandmizer: Fix certain bits generated by getRandomBytes are always 0
...
This is because in Linux RAND_MAX is 2**31-1 and we used int32_t to
hold random number from random() and got each bytes. This means that
highest bit is always unset. In little endian system, every 4n-th (n
>=0) byte has highest bit is unset. To fix this, we just use lower 2
bytes of random().
2013-09-26 00:41:33 +09:00
Tatsuhiro Tsujikawa
ac996737e5
Move OpenSSL_add_all_algorithms() to Platform::setUp()
2013-09-26 00:17:59 +09:00
Tatsuhiro Tsujikawa
d7d5e8570b
Include prefs.h instead of typedef PrefPtr everywhere
2013-09-26 00:15:18 +09:00
Tatsuhiro Tsujikawa
8536f13cff
uri.cc: Use auto instead of adhoc typedef
2013-09-26 00:15:18 +09:00
Tatsuhiro Tsujikawa
d2af91ed08
InternalDHKeyExchange: Remove unused dtor
2013-09-26 00:13:25 +09:00
Tatsuhiro Tsujikawa
da278225c1
InternalARC4Encryptor: Fix compiler warning and remove no use ctor/dtor
2013-09-26 00:11:10 +09:00
Tatsuhiro Tsujikawa
f2a1d241c2
Merge branch 'master' into bignum-arc4
2013-09-26 00:00:24 +09:00
Tatsuhiro Tsujikawa
c81fd8e194
InternalMessageDigestImpl: Fix memory leak
2013-09-25 23:58:59 +09:00
Tatsuhiro Tsujikawa
7dc5567cad
InternalMessageDigestImpl: Code cleanup
2013-09-25 23:57:03 +09:00
Tatsuhiro Tsujikawa
77b7747ca8
Ensure that Commands are cleaned up before RequestGroupMan is deleted
2013-09-25 23:35:18 +09:00
Tatsuhiro Tsujikawa
ca8ac6e7d3
bignum.h: Fix compile error
2013-09-25 22:43:48 +09:00
Tatsuhiro Tsujikawa
6198b607e9
Merge branch 'master' into bignum-arc4
2013-09-25 21:55:32 +09:00
Tatsuhiro Tsujikawa
e3e4ff700a
Merge branch 'master' into random
2013-09-25 21:41:16 +09:00
Tatsuhiro Tsujikawa
cf5b049999
Merge branch 'patch-2' of https://github.com/ITriskTI/aria2 into ITriskTI-patch-2
2013-09-25 21:33:23 +09:00
Nils Maier
450677f2bb
Mention --without-appletls for checksumming
2013-09-25 04:10:19 +02:00
Nils Maier
ede8ee7fe8
Add notes about AppleTLS and -MD
2013-09-25 04:00:57 +02:00
ITriskTI
f2137eb784
Fixed a typo in the English manual
...
Closes #133
2013-09-25 02:51:31 +02:00
ITriskTI
5787b1e161
Update aria2c.rst
2013-09-24 22:39:09 +03:00
Nils Maier
99f170b888
Provide internal ARC4 implementation
...
Now you can build bittorrent support without without external
libraries, meaning you can skip libnettle, libgmp, libgcrypt, GnuTLS and
OpenSSL on OSX (for now).
2013-09-24 19:11:26 +02:00
Nils Maier
e854463b2d
Internal implementation of DHKeyExchange
...
Reusing a bignum (well, unsigned very-long) implementation I had lying
around for years and just cleaned up a bit and brought to C++11 land.
It might not be the most performant implementation, but it shoud be fast
enough for our purposes and will go a long way of removing gcrypt,
nettle, gmp, openssl dependencies when using AppleTLS and WinTLS
(upcoming).
2013-09-24 19:11:00 +02:00
Nils Maier
86c61fcf5b
Make generateRandomBytes less biased.
2013-09-24 19:07:18 +02:00
Nils Maier
213de910fd
Add myself to AUTHORS
2013-09-24 19:04:25 +02:00
Nils Maier
e5644a7188
Revert OptionHandlerFactory changes
2013-09-24 16:17:15 +02:00
Nils Maier
d1ae9f87fd
using to typedef to make gcc-4.6 happy
2013-09-24 16:14:35 +02:00
Nils Maier
4a1d186962
Better error messages when PKCS12 import fails
2013-09-24 01:05:58 +02:00
Nils Maier
063451f0c9
TLS: Minor code cleanups
2013-09-23 15:43:11 +02:00
Nils Maier
d560bf0e6f
TLS: Fix dangling str() pointers
2013-09-23 15:10:53 +02:00
Nils Maier
2f1f45bcc5
Document PKCS12 availability
2013-09-22 12:55:27 +02:00
Nils Maier
37f9c668ff
Teach GnuTLS backend to load .p12 files
2013-09-22 12:55:27 +02:00
Nils Maier
f7b0fbbf53
Teach Libssl backend to load .p12 files
2013-09-22 12:55:27 +02:00
Nils Maier
08e2e412dc
Add some md5 tests
2013-09-20 23:07:11 +02:00
Nils Maier
7cb69c4d9e
Add --disable-ssl configure option
2013-09-20 23:06:50 +02:00
Nils Maier
38bdea4e06
Add internal md5 and sha1 message digests
2013-09-20 23:06:50 +02:00
Nils Maier
a1deb0e9f1
Only use AppleMessageDigest when using AppleTLS
2013-09-20 23:06:50 +02:00