Skip to content

Support LibreSSL 2.9.1#1097

Merged
sfackler merged 5 commits intorust-openssl:masterfrom
vishwin:master
May 9, 2019
Merged

Support LibreSSL 2.9.1#1097
sfackler merged 5 commits intorust-openssl:masterfrom
vishwin:master

Conversation

@vishwin
Copy link
Contributor

@vishwin vishwin commented Apr 23, 2019

LibreSSL 2.9.1 added generic DTLS methods, among other things: libressl/openbsd@ff8fdf5

@sfackler
Copy link
Collaborator

Build's failing.

vishwin added 2 commits April 24, 2019 16:08
LibreSSL 2.9.1 added generic DTLS methods.

While here, bump CircleCI.
@vishwin
Copy link
Contributor Author

vishwin commented Apr 25, 2019

Working on this has actually exposed certain items present since LibreSSL 2.7.1 that the cfgs logic don't currently account for. Hold tight…

@sfackler
Copy link
Collaborator

Don't worry about the failing macOS builds - they're busted due to a rustup.rs issue that should be fixed tomorrow.

@vishwin
Copy link
Contributor Author

vishwin commented Apr 25, 2019

I figured the macOS builds failing was external, so I've disregarded them. Meanwhile, I'm not quite sure what's causing two of the LibreSSL 2.9.1 tests to panic. I will come back to this once all my FreeBSD ports finish building (from an ABI bump), as how we build rust itself (completely frozen crates) requires this crate (for cargo).

@pimeys
Copy link

pimeys commented May 1, 2019

I'm currently trying to get this crate to work with OpenBSD current and LibreSSL 2.9.1, but two tests fail:


---- ssl::test::test_connect_with_srtp_ctx stdout ----
thread 'ssl::test::test_connect_with_srtp_ctx' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:345:21

---- ssl::test::test_connect_with_srtp_ssl stdout ----
thread 'ssl::test::test_connect_with_srtp_ssl' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:345:21


failures:
    ssl::test::test_connect_with_srtp_ctx
    ssl::test::test_connect_with_srtp_ssl

Seems that LibreSSL is not compiled with SRTP support or there is something wrong with rust-openssl configuration on OpenBSD.

@sfackler
Copy link
Collaborator

sfackler commented May 1, 2019

There doesn't appear to be anything obvious in the 2.9.1 release notes, so you may have to do some investigation. Maybe some struct layouts changed or something?

@mbelop
Copy link
Contributor

mbelop commented May 7, 2019

Cc @botovq. Theo, can you please take a look at this?

@botovq
Copy link
Contributor

botovq commented May 8, 2019 via email

@sfackler
Copy link
Collaborator

sfackler commented May 9, 2019

Great, thanks for tracking that down!

We'll just ignore those tests on 2.9.1 then.

SRTP is broken in that release!
@sfackler sfackler merged commit a9b9f81 into rust-openssl:master May 9, 2019
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request May 15, 2019
- While here add patches from [1] for LibreSSL 2.9.1 support

[1] rust-openssl/rust-openssl#1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@501679 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request May 15, 2019
- While here add patches from [1] for LibreSSL 2.9.1 support

[1] rust-openssl/rust-openssl#1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this pull request May 15, 2019
- While here add patches from [1] for LibreSSL 2.9.1 support

[1] rust-openssl/rust-openssl#1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@501679 35697150-7ecd-e111-bb59-0022644237b5
swills pushed a commit to swills/freebsd-ports that referenced this pull request May 22, 2019
- While here add patches from [1] for LibreSSL 2.9.1 support

[1] rust-openssl/rust-openssl#1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@501679 35697150-7ecd-e111-bb59-0022644237b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants