From: Hugo Landau Date: Wed, 9 Aug 2023 16:46:33 +0000 (+0100) Subject: QUIC DDD: ddd-01-conn-blocking: Planned changes X-Git-Tag: openssl-3.2.0-alpha1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37f12107ee98670bae4b967110370a2bdb171c16;p=thirdparty%2Fopenssl.git QUIC DDD: ddd-01-conn-blocking: Planned changes Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/21715) --- diff --git a/doc/designs/ddd/ddd-01-conn-blocking.c b/doc/designs/ddd/ddd-01-conn-blocking.c index 4dae5f48de7..11c3585a185 100644 --- a/doc/designs/ddd/ddd-01-conn-blocking.c +++ b/doc/designs/ddd/ddd-01-conn-blocking.c @@ -20,7 +20,11 @@ SSL_CTX *create_ssl_ctx(void) { SSL_CTX *ctx; +#ifdef USE_QUIC + ctx = SSL_CTX_new(QUIC_client_method()); +#else ctx = SSL_CTX_new(TLS_client_method()); +#endif if (ctx == NULL) return NULL;