Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix BIO_* functions method linking when compiled with libressl (OpenBSD). #4043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2016

Conversation

fudanchii
Copy link
Contributor

Hello,

I tried to build libgit2 in OpenBSD (as dependencies of rust's cargo) and found that it can't find BIO_* functions defined in openssl_stream.h. Obviously because it was guarded with openssl version check. I found a reference (below) that we can use libressl as we check openssl for version < 1.1.0. This patch does just that.

Thanks.

ref:
https://github.com/gentoo/libressl/blob/672ac74ce7b7cb2e4799b2d66bc0b1b1efa3454e/media-video/ffmpeg/files/ffmpeg-3.2-libressl.patch

@jacquesg
Copy link
Contributor

I've observed the same behaviour in the perl bindings:

http://www.cpantesters.org/cpan/report/dd6ea9f8-c7bb-11e6-8b9c-8683a7a0ff84

@jacquesg
Copy link
Contributor

Can we get this merged?

@ethomson
Copy link
Member

I don't use libressl, but if @jacquesg says it's working for him then πŸ‘ . Thanks @fudanchii ! πŸ˜€

@ethomson ethomson merged commit 42ad85e into libgit2:master Dec 30, 2016
@jacquesg
Copy link
Contributor

πŸ‘

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.

3 participants