forked from libp2p/go-openssl
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix build on CentOS 7 #7
Merged
oleg-jukovec
merged 2 commits into
v0.0.7-24-g0fadeb4-tarantool
from
oleg-jukovec/fix-1.0-build
Jul 11, 2022
Merged
Fix build on CentOS 7 #7
oleg-jukovec
merged 2 commits into
v0.0.7-24-g0fadeb4-tarantool
from
oleg-jukovec/fix-1.0-build
Jul 11, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The patch fixes build with OpenSSL < 1.1.1: ./ctx.go:372:28: could not determine kind of name for C.TLS1_3_VERSION
The setter functions were added in OpenSSL 1.1.0 [1]. The patch fixes compilation for previous versions: /usr/bin/ld: $WORK/b079/_x030.o: in function `X_SSL_CTX_set_min_proto_version': ./shim.c:479: undefined reference to `SSL_CTX_set_min_proto_version' /usr/bin/ld: $WORK/b079/_x030.o: in function `X_SSL_CTX_set_max_proto_version': ./shim.c:483: undefined reference to `SSL_CTX_set_max_proto_version' 1. https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_min_proto_version.html
AnaNek
approved these changes
Jul 7, 2022
vr009
approved these changes
Jul 11, 2022
oleg-jukovec
added a commit
to tarantool/go-tarantool
that referenced
this pull request
Jul 11, 2022
It fixes build with OpenSSL < 1.1.1 [1] on CetnOS 7. 1. tarantool/go-openssl#7
1 task
oleg-jukovec
added a commit
to tarantool/go-tarantool
that referenced
this pull request
Jul 11, 2022
The patch fixes build with OpenSSL < 1.1.1 [1] on CetnOS 7. 1. tarantool/go-openssl#7
oleg-jukovec
added a commit
to tarantool/go-tarantool
that referenced
this pull request
Jul 12, 2022
The patch fixes build with OpenSSL < 1.1.1 [1] on CetnOS 7. 1. tarantool/go-openssl#7
oleg-jukovec
added a commit
that referenced
this pull request
Feb 8, 2024
Overview The first release with a number of fixes. Since `libp2p/openssl` is not supported any more we need to support our version for usage in the Golang connector `tarantool/go-tarantool`. New features DialContext function (#10). Bugfixes Build by Golang 1.13 (#6). Build with OpenSSL < 1.1.1 (#7). Build on macOS as a static library (#8). Build on macOS with Apple M1 (#8). Random errors in the code caused by an invalid OpenSSL error handling in LoadPrivateKeyFromPEM, LoadPrivateKeyFromPEMWithPassword, LoadPrivateKeyFromDER and LoadPublicKeyFromPEM (#9).
Merged
oleg-jukovec
added a commit
that referenced
this pull request
Feb 8, 2024
Overview The first release with a number of fixes. Since `libp2p/openssl` is not supported any more we need to support our version for usage in the Golang connector `tarantool/go-tarantool`. See releases of `libp2p/openssl`[1] for previous changes history. New features DialContext function (#10). Bugfixes Build by Golang 1.13 (#6). Build with OpenSSL < 1.1.1 (#7). Build on macOS as a static library (#8). Build on macOS with Apple M1 (#8). Random errors in the code caused by an invalid OpenSSL error handling in LoadPrivateKeyFromPEM, LoadPrivateKeyFromPEMWithPassword, LoadPrivateKeyFromDER and LoadPublicKeyFromPEM (#9). 1. https://github.com/libp2p/go-openssl/releases
oleg-jukovec
added a commit
that referenced
this pull request
Feb 8, 2024
Overview The first release with a number of fixes. Since `libp2p/openssl` is not supported any more we need to support our version for usage in the Golang connector `tarantool/go-tarantool`. See releases of `libp2p/openssl`[1] for previous changes history. New features DialContext function (#10). Bugfixes Build by Golang 1.13 (#6). Build with OpenSSL < 1.1.1 (#7). Build on macOS as a static library (#8). Build on macOS with Apple M1 (#8). Random errors in the code caused by an invalid OpenSSL error handling in LoadPrivateKeyFromPEM, LoadPrivateKeyFromPEMWithPassword, LoadPrivateKeyFromDER and LoadPublicKeyFromPEM (#9). 1. https://github.com/libp2p/go-openssl/releases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CentOS 7 has an old OpenSSL version 1.0.2. We can provide support for it which was broken by our patches.
How-to reproduce the problems: