Commit Graph

2614 Commits

Author SHA1 Message Date
Charlie Li e6da0fa4a1 Bump LibreSSL 2.8 version in CircleCI 2018-09-29 14:59:50 -04:00
Steven Fackler 367bc97979
Merge pull request #1004 from mbelop/ecdsa-der
Add support for encoding and decoding ECDSA signatures
2018-09-28 09:06:25 -07:00
Mike Belopuhov 18dfc9b6b2 Add support for encoding and decoding ECDSA signatures 2018-09-28 14:43:33 +02:00
Charlie Li 72a60af503 Only whitelist LibreSSL 2.8.0 and 2.8.1
ABI is not declared stable for anything past 2.8.1 yet.
2018-09-27 01:48:44 -04:00
Charlie Li b6971883be Support the rest of LibreSSL 2.8.x
LibreSSL 2.8.1 released, so update the check for all versions in the series, not just 2.8.0.
2018-09-27 01:19:39 -04:00
Steven Fackler e9e9239c47
Merge pull request #999 from sfackler/fix-get-session
Fix get session callback
2018-09-17 09:43:31 -07:00
Steven Fackler 5894cdfdc5
Fix get session callback
This could previously open up the possibility of a double-free!

Closes #996
2018-09-17 09:30:16 -07:00
Steven Fackler a01979cfdc
Merge pull request #995 from sfackler/client-hello
Support the client hello callback
2018-09-15 14:22:51 -07:00
Steven Fackler 22231d7547 Support the client hello callback 2018-09-15 13:29:18 -07:00
Steven Fackler a548913e44 Release openssl 0.10.12 2018-09-13 19:23:09 -07:00
Steven Fackler 8f94c13a3e Release openssl-sys 0.9.36 2018-09-13 19:17:48 -07:00
Steven Fackler c85871c443
Merge pull request #993 from wsygog/master
Fix small typo in Rsa documentation
2018-09-13 15:45:37 -07:00
李伟 348cb7391b
Fix typo
Fix typo in docs for openssl::rsa::Rsa::from_private_components
2018-09-13 12:39:57 -10:00
Steven Fackler b09929fd07
Merge pull request #991 from sfackler/libressl-28
Support libressl 2.8.0
2018-09-13 14:37:21 -07:00
Steven Fackler 9e1a6f284b Fix missing symbol 2018-09-12 20:56:05 -07:00
Steven Fackler 00641a9d6b Stop caching the registry on osx
The cache seems to corrupt itself a lot which breaks the build. The OSX
build finishes way before anything else anyway so the time save doesn't
matter.
2018-09-12 20:44:58 -07:00
Steven Fackler 8c6bc774db Support libressl 2.8.0
Closes #988
2018-09-12 20:44:22 -07:00
Steven Fackler a29c789e57
Merge pull request #990 from sfackler/one-sys-mod
Refactor openssl-sys
2018-09-12 20:02:40 -07:00
Steven Fackler 93a4e96255 Refactor openssl-sys
The old layout tried to structure itself by version but it ended up with
a lot of duplication. Instead, follow the structure of the header files.
2018-09-12 19:21:18 -07:00
Steven Fackler 8d5a91c334 Bump to 1.1.1 release 2018-09-11 09:06:22 -07:00
Steven Fackler ea18d84de3 clean up example 2018-09-02 14:51:08 -07:00
Steven Fackler 947dfbd143 Small cleanup
Closes #981
2018-09-02 14:26:27 -07:00
Steven Fackler aa5cfbe239
Merge pull request #982 from sfackler/fix-sni-callback
Fix lookup errors with SNI callback.
2018-08-31 21:32:36 -07:00
Steven Fackler bc4e47a321 Fix lookup errors with SNI callback.
The job of an SNI callback is typically to swap out the context
associated with an SSL depending on the domain the client is trying to
talk to. Typically, only the callbacks associated with the current
context are used, but this is not the case for the SNI callback.

If SNI is run for a second time on a connection (i.e. in a
renegotiation) and the context was replaced with one that didn't itself
register an SNI callback, the old callback would run but wouldn't be
able to find its state in the context's ex data. To work around this, we
pass the pointer to the callback data directly to the callback to make
sure it's always available. It still lives in ex data to handle the
lifetime management.

Closes #979
2018-08-31 20:23:55 -07:00
Steven Fackler 458d9e4ccb
Bump Appveyor test versions 2018-08-29 10:50:52 -07:00
Steven Fackler 5cd0581e8e Bump versions 2018-08-27 21:42:35 -07:00
Steven Fackler 2df87cfd59 Fix doc reference 2018-08-19 20:19:10 -07:00
Steven Fackler b1d01fbc0c
Merge pull request #978 from sfackler/srtp-cleanup
SRTP cleanup
2018-08-19 20:02:00 -07:00
Steven Fackler ef7721092d SRTP cleanup 2018-08-19 18:50:11 -07:00
Steven Fackler b07ebe44ed
Merge pull request #975 from eun-ice/master
Add methods for DTLS/SRTP key handshake
2018-08-19 18:33:18 -07:00
Aron Wieck 59c578cf04 Add methods for DTLS/SRTP key handshake 2018-08-14 16:04:33 +02:00
Steven Fackler f42777b17c
Merge pull request #974 from sfackler/shutdown
Add get_shutdown and set_shutdown
2018-08-08 15:35:09 -07:00
Steven Fackler 1396143c66 Add get_shutdown and set_shutdown 2018-08-08 13:19:55 -07:00
Steven Fackler a062c62cf0
Merge pull request #972 from sfackler/err-unspecified-cfg
X509_V_ERR_UNSPECIFIED was added in 1.0.2f
2018-08-04 11:03:03 -07:00
Steven Fackler cb2f4c2287 X509_V_ERR_UNSPECIFIED was added in 1.0.2f
Closes #970
2018-08-04 10:23:35 -07:00
Steven Fackler ba7f82e41b Update changelog 2018-08-04 10:18:46 -07:00
Steven Fackler ef69870ea2 Release openssl 0.10.11 2018-08-04 10:12:12 -07:00
Steven Fackler 0c92bba84a Release openssl-sys 0.9.35 2018-08-04 10:11:10 -07:00
Alex Crichton 09ce916551
Merge pull request #967 from sfackler/vendored-docs
Add some docs to the README about the vendored feature.
2018-07-31 07:31:56 -07:00
Steven Fackler 5948898e54 Add some docs to the README about the vendored feature. 2018-07-30 21:19:07 -07:00
Steven Fackler aba29697d3
Merge pull request #963 from alexcrichton/vendored
Support builds of OpenSSL from vendored source (take 2)
2018-07-30 15:55:34 -07:00
Alex Crichton 71ee9439ca Support builds of OpenSSL from vendored source (take 2)
This is a revival of #684 to see if I can help push it across the finish line!

Closes #580
2018-07-30 15:15:24 -07:00
Steven Fackler 864cd9fa81
Merge pull request #965 from sfackler/fix-no-ec2m
Fix tests when built with no-ec2m
2018-07-29 13:39:16 -07:00
Steven Fackler 415f399b2c Fix tests when built with no-ec2m
The other curve identifier isn't valid, at least in some contexts so
just ignore the test in those cases.

Closes #964
2018-07-29 09:48:03 -07:00
Steven Fackler 0725cbb165
Merge pull request #962 from sfackler/static-str
SslSessionRef methods return static strings
2018-07-19 21:26:12 -07:00
Steven Fackler ee5215bd31 SslSessionRef methods return static strings
Closes #961
2018-07-19 20:22:57 -07:00
Steven Fackler 44af821d80
Merge pull request #959 from jabedude/master
Fix spelling in symm docs
2018-07-14 15:00:30 -07:00
Josh Abraham a964d05d4a Fix spelling in symm docs 2018-07-14 11:54:26 -10:00
Steven Fackler bd9a2b25a7
Merge pull request #958 from sfackler/custom-errors
Add bindings for custom error definition
2018-07-10 19:24:11 -07:00
Steven Fackler 9eeee0930c Add bindings for custom error definition 2018-07-10 18:54:47 -07:00