Skip to content

Commit

Permalink
quiche: fix build error with --with-ca-fallback
Browse files Browse the repository at this point in the history
- Fix build error when curl is built with --with-quiche
  and --with-ca-fallback.

- Add --with-ca-fallback to the quiche CI job.

Fixes curl#11850
Closes curl#11847
  • Loading branch information
junhochoi authored and jay committed Sep 14, 2023
1 parent 7a2421d commit 267e14f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/quiche-linux.yml
Expand Up @@ -72,6 +72,7 @@ jobs:
--enable-debug
--with-quiche=/home/runner/quiche/target/release
--with-test-nghttpx="$HOME/nghttpx/bin/nghttpx"
--with-ca-fallback
steps:
- run: |
Expand Down
2 changes: 1 addition & 1 deletion lib/vquic/curl_quiche.c
Expand Up @@ -165,7 +165,7 @@ static CURLcode quic_x509_store_setup(struct Curl_cfilter *cf,
else {
/* verifying the peer without any CA certificates won't work so
use openssl's built-in default as fallback */
SSL_CTX_set_default_verify_paths(ssl_ctx);
SSL_CTX_set_default_verify_paths(ctx->sslctx);
}
#endif
}
Expand Down

0 comments on commit 267e14f

Please sign in to comment.