Commit graph

971 commits

Author SHA1 Message Date
Vincent Hanquez
4e86ffee28 split record state from state. 2013-07-13 08:03:25 +01:00
Vincent Hanquez
62a1b29fbe remove old commented code 2013-07-12 07:45:16 +01:00
Vincent Hanquez
fb8629a807 re-indent 2013-07-12 07:27:28 +01:00
Vincent Hanquez
67f01872dd re-indent 2013-07-12 06:54:47 +01:00
Vincent Hanquez
5d69715a50 correct mismerge 2013-07-11 10:27:24 +01:00
Vincent Hanquez
df524de618 add some locks. unused for now 2013-07-11 09:06:10 +01:00
Vincent Hanquez
c132b4cb8b first stab at separating record state from other state. 2013-07-11 09:03:33 +01:00
Vincent Hanquez
b025e616e4 re-indent record layer 2013-07-10 08:48:49 +00:00
Vincent Hanquez
6d4b167864 re-indent 2013-07-10 08:04:47 +01:00
Vincent Hanquez
290d98d95b re-indent 2013-07-10 07:37:52 +01:00
Vincent Hanquez
02c445a102 re-indent 2013-07-10 07:20:58 +01:00
Vincent Hanquez
7269382b48 re-indent 2013-07-10 07:14:22 +01:00
Vincent Hanquez
e6d2a1d7f1 re-indent 2013-07-10 07:13:10 +01:00
Vincent Hanquez
37eb3dab6e export the function to set the hook. 2013-07-10 07:10:01 +01:00
Vincent Hanquez
b21d4af85c add hook for received handshake message 2013-07-09 09:13:17 +01:00
Vincent Hanquez
1d6946e12e re-indent 2013-07-09 07:30:29 +01:00
Vincent Hanquez
3c61512c0c re-indent 2013-07-09 07:19:16 +01:00
Vincent Hanquez
939b9c5a95 re-indent. 2013-07-09 07:15:54 +01:00
Vincent Hanquez
ec93924cab re-indent where properly 2013-06-27 08:06:01 +01:00
Vincent Hanquez
88000285c6 disable tls-checkciphers 2013-06-03 08:55:51 +01:00
Vincent Hanquez
8474fe1d93 update to the new session manager 2013-06-03 08:54:46 +01:00
Vincent Hanquez
669980c946 fix compilation with recent client/server params change. 2013-06-03 08:41:42 +01:00
Vincent Hanquez
0b170e624d proper separation of NPN callback in server and client params.
need further cleanup for client/server role separation instead of
the getClientParams and getServerParams.

fix #34.
2013-06-03 08:37:56 +01:00
Vincent Hanquez
3288ed97b4 add a better description for onCipherChoosing. 2013-06-03 08:36:54 +01:00
Vincent Hanquez
86df11a16a Merge https://github.com/knrafto/hs-tls into x509
Conflicts:
	core/Network/TLS/Context.hs
2013-06-03 08:12:10 +01:00
Vincent Hanquez
5b139b3199 convert stunnel to use getopt. 2013-06-03 08:10:53 +01:00
Vincent Hanquez
8c4443aa21 disable check ciphers as it's currently broken. 2013-06-03 08:10:42 +01:00
Vincent Hanquez
eddac3ab4f bump version of tls-extra and debug dependencies 2013-06-02 07:55:17 +01:00
Kyle Raftogianis
347ebdaaf1 Rename nullSessionManager to noSessionManager 2013-06-01 23:52:38 -07:00
Vincent Hanquez
1c6a1187b2 remove cmdarg in favor of getopt. 2013-06-02 07:13:00 +01:00
Vincent Hanquez
b3e3a2d648 fix compilation 2013-06-02 07:12:26 +01:00
Vincent Hanquez
8aebcd7b48 update debug for tls 1.2 2013-05-30 07:22:08 +01:00
Vincent Hanquez
e35026abe8 misc export and convenience functions in extra. 2013-05-30 07:21:55 +01:00
Vincent Hanquez
8468556fe8 use x509 public key and private key instead of defining our own in tls. 2013-05-30 07:21:25 +01:00
Vincent Hanquez
026aba87e5 use x509 and x509-validation. 2013-05-26 08:02:46 +01:00
Vincent Hanquez
b1478dd618 some exporting deprecated aliases. 2013-05-26 08:02:20 +01:00
Vincent Hanquez
02b2f01515 move certificate stuff in x509 module. 2013-05-26 08:02:06 +01:00
Vincent Hanquez
8d39c0103b use not a deprecated alias. 2013-05-26 08:01:34 +01:00
Vincent Hanquez
ac7cf0a31e remove some test that are done in core anyway. 2013-05-26 08:00:54 +01:00
Vincent Hanquez
a3db8c38a1 remove all the old certificate functions and use new things 2013-05-26 07:24:19 +01:00
Vincent Hanquez
af29b3dc3f prepare for 1.2 branch 2013-05-26 07:24:02 +01:00
Vincent Hanquez
59d61067b0 add X509 file. 2013-05-26 07:19:59 +01:00
Vincent Hanquez
2d993717e7 add ability to use pem output format in tls-retrievecertificate 2013-05-19 08:06:00 +01:00
Vincent Hanquez
fc9c6a407d update for x509 2013-05-19 08:05:46 +01:00
Vincent Hanquez
378d9dbecb bump version of tls-extra 2013-05-16 09:44:51 +01:00
Vincent Hanquez
c2924f82d9 don't use DSA.signature for now as it's going some new revision 2013-05-16 09:44:01 +01:00
Kyle Raftogianis
2c9fa01197 Replace existential session manager with concrete data type 2013-05-14 22:42:09 -07:00
Vincent Hanquez
5173b61783 comment compression import. 2013-02-09 16:57:58 +00:00
Vincent Hanquez
83c1e247e6 add extra check for minimum size and being a blocksize multiple for block ciphers. 2013-02-09 16:57:22 +00:00
Vincent Hanquez
66cf59c054 remove BulkNoneF which only duplicate case for no reason. 2013-02-09 16:56:47 +00:00