openssl+gnutls, use shared code for TCP+QUIC - #13172
Closed
icing wants to merge 13 commits into
Closed
Conversation
icing
force-pushed
the
ossl-ctx-sync-tcp-quic
branch
from
March 25, 2024 13:05
20ff46c to
44b4eac
Compare
icing
force-pushed
the
ossl-ctx-sync-tcp-quic
branch
from
March 26, 2024 12:12
d8dcf2c to
7c4c504
Compare
Member
|
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
Member
|
Seems to fail permanently with old linux: Ref: https://github.com/curl/curl/actions/runs/8611712426/job/23599433148#step:6:207 |
Contributor
Author
|
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
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Before this patch this macro was used in `vtls/openssl.h` without setting it first, causing the `keylog_done` member be present in struct `ossl_ctx` while the code did not use it. Follow-up to 3210101 curl#13172 Closes curl#16105
This file contains hidden or 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
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_peerhas addedportandtransportmemberspeeris passed in session lookup and storage