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
openssl+gnutls, use shared code for TCP+QUIC #13172
Closed
Closed
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
icing
force-pushed
the
ossl-ctx-sync-tcp-quic
branch
from
March 25, 2024 13:05
20ff46c
to
44b4eac
Compare
icing
changed the title
openssl, use shared init code for TCP+QUIC
openssl, use shared code for TCP+QUIC
Mar 25, 2024
icing
force-pushed
the
ossl-ctx-sync-tcp-quic
branch
from
March 26, 2024 12:12
d8dcf2c
to
7c4c504
Compare
icing
changed the title
openssl, use shared code for TCP+QUIC
openssl+gnutls, use shared code for TCP+QUIC
Mar 26, 2024
merge conflicts |
- session handling is not activated for QUIC, needs a bit more work - configured ssl version is ignore in QUIC, should check and error, todo
- add `port` and `transport` to `struct ssl_peer` - pass peer to session lookup and storage - rewire openssl session callbacks differently for TCP and QUIC filters - add new peer params in vaious backends
- gnutls, common init code - openssl, common cert verify code
- fixes builds with gnutls but without ngtcp2
icing
force-pushed
the
ossl-ctx-sync-tcp-quic
branch
from
April 4, 2024 10:22
86318df
to
bb91a33
Compare
Seems to fail permanently with old linux:
Ref: https://github.com/curl/curl/actions/runs/8611712426/job/23599433148#step:6:207 |
Thanks, that somehow flew by. Fix in #13325. |
vszakats
added a commit
that referenced
this pull request
Apr 10, 2024
Visible in daily curl-for-win builds: https://github.com/curl/curl-for-win/actions/runs/8621925870 ``` lib/vquic/curl_ngtcp2.c:1916:12: error: redefinition of 'ossl_new_session_cb' static int ossl_new_session_cb(SSL *ssl, SSL_SESSION *ssl_sessionid) ^ lib/vtls/openssl.c:2978:12: note: previous definition is here static int ossl_new_session_cb(SSL *ssl, SSL_SESSION *ssl_sessionid) ^ ``` https://github.com/curl/curl-for-win/actions/runs/8621925870/job/23631885439#step:3:6965 Follow-up to 3210101 #13172 Closes #13332
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.
Having TCP TLS and QUIC TLS use shared code.
struct ssl_peer
has addedport
andtransport
memberspeer
is passed in session lookup and storage