Commit graph

677 commits

Author SHA1 Message Date
Vincent Hanquez
325cfd1eab bind n so that we can report the error in decoding maxfragmentlength 2012-10-20 08:57:53 +01:00
Vincent Hanquez
8dae53a2ef correct a typo. 2012-10-20 08:57:28 +01:00
Vincent Hanquez
aa910bfd9c reindent 2012-10-20 08:56:53 +01:00
Vincent Hanquez
5627e3ddf9 add some spaces 2012-10-20 08:56:39 +01:00
Vincent Hanquez
acc4ef5ca5 add MaxFragmentLength extension 2012-10-17 07:30:41 +01:00
Vincent Hanquez
b0849b0785 export ServerName 2012-10-17 07:30:26 +01:00
Vincent Hanquez
d33a3df303 define the ServerName's extensionID 2012-10-17 07:30:07 +01:00
Vincent Hanquez
676608b017 make server name description more precise 2012-10-17 07:28:35 +01:00
Vincent Hanquez
d92ba43757 re-enabled the NOCERTVERIFY for platform that doesn't have system certificate yet.
Despite some efforts to support the windows certificates, there's still
some more work to do until it's ready.
2012-10-17 07:10:24 +01:00
Vincent Hanquez
562adadc25 bump version of debug to 0.2.0 2012-10-16 08:43:14 +01:00
Vincent Hanquez
12a28a833a change related to the new certificatestore. 2012-10-16 08:40:40 +01:00
Vincent Hanquez
b125a04215 bump certificate version 2012-10-16 08:03:00 +01:00
Vincent Hanquez
7d55744060 remove useless symbols. fixes warnings. 2012-10-16 08:02:44 +01:00
Vincent Hanquez
2132dd91c3 repair Core's tests. 2012-10-16 08:02:18 +01:00
Vincent Hanquez
26c1267e09 remove old items 2012-10-01 06:23:28 +01:00
Vincent Hanquez
a1b735bed1 update LICENSE files and add a root one. 2012-09-30 16:16:58 +01:00
Vincent Hanquez
8edaa6560b bump version 2012-09-25 08:11:05 +01:00
Vincent Hanquez
a6db71edc7 Disable optimisation for ghc 7.6.1 to workaround the bad record mac problem
Temporary fix until the bug is resolved upstream.
see http://hackage.haskell.org/trac/ghc/ticket/7270
2012-09-25 08:10:03 +01:00
Vincent Hanquez
0794cc3d0b Disable optimisation for ghc 7.6.1 to workaround the bad record mac problem
Temporary fix until the bug is resolved upstream.
see http://hackage.haskell.org/trac/ghc/ticket/7270
2012-09-25 08:09:37 +01:00
Vincent Hanquez
c9dbce0636 realign fields. 2012-09-25 08:04:58 +01:00
Vincent Hanquez
32c7a350e4 always do verbose tests with gnutls-debug-cli 2012-09-25 08:04:37 +01:00
Vincent Hanquez
93f5f2e60c move testing scripts to the repository's root. 2012-09-25 08:04:18 +01:00
Vincent Hanquez
89df5a893f fix use of catch to make sure it's usuable on ghc-7.6 and older versions. 2012-09-23 22:54:43 +01:00
Vincent Hanquez
670f826f0a fix link related to the new all in one repository for tls and co. 2012-09-05 06:50:45 +01:00
Vincent Hanquez
2d6174d73d merge tls-debug in tls. 2012-09-05 06:49:38 +01:00
Vincent Hanquez
2e8cb14f38 merge tls-extra into tls. 2012-09-05 06:44:19 +01:00
Vincent Hanquez
957a005664 move all tls into a core directory. 2012-09-05 06:27:06 +01:00
Vincent Hanquez
5a168a11d1 complete description about fastaes flag. 2012-09-01 15:32:57 +01:00
Vincent Hanquez
41f7c9c71b update to certificate 1.2.6 2012-09-01 15:25:04 +01:00
Vincent Hanquez
3e3baaecd8 a not got lost, looping forever it was.
fix tests related to empty packet.
2012-09-01 15:24:55 +01:00
Vincent Hanquez
b84cc283f0 bump version 2012-09-01 14:48:18 +01:00
Vincent Hanquez
cb2ed6d54a A not got lost, looping forever it was.
Fix tests related to change in API.
2012-09-01 14:47:58 +01:00
Vincent Hanquez
b9261fd551 add extensions alerts 2012-08-27 16:25:35 +01:00
Vincent Hanquez
7c04e7f186 add servername extension encoding/decoding 2012-08-27 15:11:29 +01:00
Vincent Hanquez
7ae078c1ce add comments 2012-08-27 15:11:17 +01:00
Vincent Hanquez
7036d4becd rename fields to use the new type alias HashAndSignatureAlgorithm. 2012-08-27 15:05:53 +01:00
Vincent Hanquez
e2eb3ba95c use the new getList 2012-08-27 15:05:23 +01:00
Vincent Hanquez
d49bff619b move comment marker at the same level of code. 2012-08-27 14:22:53 +01:00
Vincent Hanquez
fcec7b70e4 use liftM instead of handrolled version 2012-08-27 14:21:19 +01:00
Vincent Hanquez
4250a3e2d9 add a comment so that we remember why it's there. 2012-08-27 14:20:54 +01:00
Vincent Hanquez
419c96c935 add a getList to get multiple elements 2012-08-27 14:20:04 +01:00
Vincent Hanquez
b591b821f7 use ExtensionID instead of raw Word16 in extension class signature 2012-08-27 14:18:04 +01:00
Vincent Hanquez
13acc4f91c filter out .mix 2012-08-27 08:25:08 +01:00
Vincent Hanquez
0e22ae7db4 check that we didn't receive any extensions from the server that we didn't sent.
In case that happens, fail the handshake with an unsupported extension alert.
2012-08-27 08:25:08 +01:00
Vincent Hanquez
7cc0c6c43f define unsupported extension from tls1.2 2012-08-27 08:25:08 +01:00
Vincent Hanquez
fa662c4d0e add extensionID and move extension id definition in struct 2012-08-27 08:25:08 +01:00
Vincent Hanquez
7640a90d2f introduce a hashandsignaturealgorithm alias. 2012-08-27 08:25:02 +01:00
Vincent Hanquez
727f1af076 unbind ver from the where body and use pConnectVersion when needed.
prevent mixup with which version is actually in use.
2012-08-20 07:38:42 +01:00
Vincent Hanquez
60ea0ab89f use the server returned value for version instead of using the one we sent.
fix a bug when server downgrade/upgrade the protocol version.
2012-08-20 07:37:54 +01:00
Vincent Hanquez
7edf5014b3 move client data sent to its own function. 2012-08-19 23:14:58 +01:00