Commit Graph

39 Commits

Author SHA1 Message Date
Jeff Mitchell
e863d83e40 Add P521 to defined curves 2018-01-05 16:06:25 -07:00
Jeff Wendling
37dddbfb29 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
Jeff Wendling
0d0212094c remove useless build tags 2017-06-05 18:07:03 -06:00
Andrew Harding
b90544c9b0 openssl 1.1.x support
- created a uniform shim layer for the Go code to invoke that does the
  right thing depending on the version of openssl. functions that have
  yet to be moved can be done so as needed.

- fixed the incorrect use of X509_STORE_CTX_get_app_data in verify_cb to
  pull out the SSL object from the x509 store context, which causes
  crashes when the SSL object index happens to not be zero.

- fix engine not being passed to HMAC_Init_ex

- fix HMAC tests not checking for failures with NewHMAC
2017-06-05 18:07:03 -06:00
Viacheslav Biriukov
149d3f13bd add SNI (RFC 6066) 2015-11-29 11:31:05 -07:00
Andrew Harding
e16f9ab26d added method to get verify code from cert store ctx
Change-Id: I0a842d144b85756a2ad96df15c6cd25ce4761f62
2015-10-13 12:50:46 -06:00
Andrew Harding
327ffad934 fix double-free when adding cert to chain
Change-Id: I8d6fd56642ac5f87dd9fb4f78df64bb1f39494b7
2015-10-12 14:55:54 -06:00
Jeff Wendling
4d3c3b16ef support session resumption and hooking into the ticket callback
Change-Id: I8e12e4c1f0a8b350853a41636035baf1cfb0c952
2015-06-09 20:31:03 +00:00
Anton Baklanov
1d354f480d use time.Duration instead of int to specify session timeout 2015-05-14 09:17:34 +03:00
Anton Baklanov
8d2efad227 add a few session cache options getters and setters 2015-05-12 22:18:27 +03:00
Carlos Martín Nieto
75f8149306 MacOSX does not have the TLSv1_X_method() functions
The header does define TLS1_X_VERSION, but the version-specific
functions are not available.
2014-12-12 08:55:33 +01:00
Ryan Hileman
579612b5c0 add NewCert..Store(), LoadCert..sFromPEM() 2014-11-18 23:25:48 -08:00
Ryan Hileman
111569c406 add support for chains in ListenAndServeTLS 2014-11-18 23:25:48 -08:00
Ryan Hileman
1a2646cde3 improve GC handling (fixes #10) 2014-11-18 17:47:46 -08:00
JT Olds
aaf49c2d58 openssl: grave admonitions
Change-Id: I03fa44c36300404c1efd636c6bb48d4a25be83e4
2014-10-19 23:25:04 -06:00
Jeff Wendling
67e06b66c4 fix darwin build
since apple packages a really old openssl version, some of the constants
introduced recently were not present. on darwin, don't compile them in unless
explicititly asked for with the 'brew' build tag.

fixes #14
2014-10-09 11:25:36 -06:00
Andrew Brampton
45882fc7a6 Added support for NoTLSv1_1 and NoTLSv1_2, and allowed options to be cleared. 2014-10-07 20:42:41 -07:00
Zack Owens
f35adbfa78 Adding explicit curves and corresponding SSL context function 2014-05-21 11:58:32 -04:00
Zack Owens
45c85576f8 Adding EnableECDH to Context 2014-05-15 13:11:05 -04:00
Zack Owens
85a1dc3167 Adding AddChainCertificate func 2014-05-14 12:53:53 -04:00
JT Olds
0022daa4f4 case change
Change-Id: Ia5d0629bd2649f50b462994752029ac8a586a8da
2014-05-13 09:44:10 -06:00
JT Olds
42391d89a5 add license
Change-Id: I4642fb9b97256ec6b3ffbe403272efc690bf1606
2014-05-09 15:38:13 -06:00
JT Olds
b364999a65 fix releasebuffers
Change-Id: I2aaeb8c5a411ef089b3a52a2ec7f0c8353d7dfd3
2014-04-30 14:47:50 -06:00
JT Olds
cd4183cd7c godoc 2014-04-29 03:00:19 -06:00
paul cannon
791cc52ff2 space monkey internal commit export
[katamari commit: 6be5044fddfd394a1b53591add19c02fe1d09c8f]
2014-04-28 03:11:02 +00:00
Jeff Wendling
e7e20b5376 space monkey internal commit export
[katamari commit: 108ae5a7d09e250ee03faf589b65918323d98b8a]
2014-04-09 23:21:23 +00:00
JT Olds
b42853e994 space monkey internal commit export
[katamari commit: 6ac6e9c5673cfc54ebe8f5981d37fa0d71ca7a30]
2014-03-24 23:31:45 +00:00
JT Olds
73cac0141f space monkey internal commit export
[katamari commit: d19fdae31298fdd2fbbda5091d00bcbe4f6344a9]
2014-03-18 00:13:12 +00:00
Andrew Harding
420209b5b2 space monkey internal commit export
[katamari commit: ec10a16bdc8a55c53af32481120946fa49570b30]
2014-03-11 18:09:47 +00:00
JT Olds
9038b3bfc8 space monkey internal commit export
[katamari commit: a787e0a0c25fd8ad187772370e3c7272418f6ef8]
2014-02-28 22:00:18 +00:00
Jeff Wendling
fa8eb6a573 space monkey internal commit export
[katamari commit: 9bd04d1d78e85304589695c66e328d23128f509c]
2014-02-25 19:01:49 +00:00
Jeff Wendling
751143ef9c space monkey internal commit export
[katamari commit: ce8d2d36f887ab400c77a4eed9e37d02ecc8968a]
2014-02-25 17:36:24 +00:00
Andrew Harding
9191dc4a2c space monkey internal commit export
[katamari commit: 77dd3ea8a00bdc73be495e9b06c491a85b4521ff]
2014-01-24 01:27:18 +00:00
Jeff Wendling
f9ae27d90a space monkey internal commit export
[katamari commit: 1f7b029c86f864c2bb38fbd916b99202c8793066]
2014-01-21 00:19:48 +00:00
JT Olds
bf875729b9 space monkey internal commit export
[katamari commit: bcae654d7ec125583db16dd8c77de72885bd594e]
2014-01-20 21:05:22 +00:00
JT Olds
053d794fe5 space monkey internal commit export
[katamari commit: 66d3bf715795d3696ca37003fba5dba1af7ffacf]
2014-01-20 19:29:56 +00:00
JT Olds
9527626adf space monkey internal commit export
[katamari commit: 8c7516ec3b7ab96450a4365fc1fe2fc7fa34a262]
2014-01-20 19:00:37 +00:00
JT Olds
e216ea8e48 space monkey internal commit export
[katamari commit: ce73f75cb74ddc288a859ad3413c9a1a15380763]
2014-01-20 18:53:59 +00:00
JT Olds
f3fa51fc61 space monkey internal commit export
[katamari commit: fbadad69fa95d38c389d6dbf9607599c51353e78]
2014-01-18 01:30:37 +00:00