=head1 NAME
-OSSL_QUIC_client_method, OSSL_QUIC_client_thread_method,
-OSSL_QUIC_server_method
+OSSL_QUIC_client_method, OSSL_QUIC_client_thread_method
- Provide SSL_METHOD objects for QUIC enabled functions
=head1 SYNOPSIS
const SSL_METHOD *OSSL_QUIC_client_method(void);
const SSL_METHOD *OSSL_QUIC_client_thread_method(void);
- const SSL_METHOD *OSSL_QUIC_server_method(void);
=head1 DESCRIPTION
nonblocking mode of operation and the application periodically calling SSL
functions.
-The OSSL_QUIC_server_method() is currently experimental and unsupported.
-It is provided for testing purposes. It does not provide a QUIC server
-implementation compliant with the QUIC specification.
-
=head1 RETURN VALUES
These functions return pointers to the constant method objects.
=head1 HISTORY
-OSSL_QUIC_client_method(), OSSL_QUIC_client_thread_method(), and
-OSSL_QUIC_server_method() were added in OpenSSL 3.2.
+OSSL_QUIC_client_method() and OSSL_QUIC_client_thread_method() were added in
+OpenSSL 3.2.
=head1 COPYRIGHT
* Method used for thread-assisted QUIC client operation.
*/
__owur const SSL_METHOD *OSSL_QUIC_client_thread_method(void);
-/*
- * This method does not implement full server operation,
- * is used for testing, and is subject to change in later
- * releases.
- */
-__owur const SSL_METHOD *OSSL_QUIC_server_method(void);
# ifdef __cplusplus
}
OSSL_QUIC_client_thread_method,
ssl_undefined_function,
ossl_quic_connect, ssl3_undef_enc_method)
-
-IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION,
- OSSL_QUIC_server_method,
- ossl_quic_accept,
- ssl_undefined_function, ssl3_undef_enc_method)
@conf_srcs = glob(srctop_file("test", "ssl-tests", "*.cnf.in"));
# We hard-code the number of tests to double-check that the globbing above
# finds all files as expected.
- plan tests => 32;
+ plan tests => 31;
}
map { s/;.*// } @conf_srcs if $^O eq "VMS";
my @conf_files = map { basename($_, ".in") } @conf_srcs;
}
my $no_pre_tls1_3 = alldisabled(@all_pre_tls1_3);
my $no_dtls = alldisabled(available_protocols("dtls"));
-my $no_quic = disabled("quic");
my $no_npn = disabled("nextprotoneg");
my $no_ct = disabled("ct");
my $no_ec = disabled("ec");
"25-cipher.cnf" => disabled("ec") || disabled("tls1_2"),
"26-tls13_client_auth.cnf" => disabled("tls1_3") || ($no_ec && $no_dh),
"29-dtls-sctp-label-bug.cnf" => disabled("sctp") || disabled("sock"),
- # TODO(QUIC): Temporarily disabled during finalization of front-end API.
- "31-quic.cnf" => 1 || $no_quic || $no_ec,
"32-compressed-certificate.cnf" => disabled("comp") || disabled("tls1_3"),
);
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/provider.h>
-#ifndef OPENSSL_NO_QUIC
-#include <openssl/quic.h>
-#endif
#include "helpers/handshake.h"
#include "helpers/ssl_test_ctx.h"
goto err;
}
}
-#ifndef OPENSSL_NO_QUIC
- if (test_ctx->method == SSL_TEST_METHOD_QUIC) {
- server_ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_server_method());
- if (test_ctx->extra.server.servername_callback !=
- SSL_TEST_SERVERNAME_CB_NONE) {
- if (!TEST_ptr(server2_ctx =
- SSL_CTX_new_ex(libctx, NULL,
- OSSL_QUIC_server_method())))
- goto err;
- }
- client_ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
- if (test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_RESUME) {
- resume_server_ctx = SSL_CTX_new_ex(libctx, NULL,
- OSSL_QUIC_server_method());
- resume_client_ctx = SSL_CTX_new_ex(libctx, NULL,
- OSSL_QUIC_client_method());
- if (!TEST_ptr(resume_server_ctx)
- || !TEST_ptr(resume_client_ctx))
- goto err;
- }
- }
-#endif
#ifdef OPENSSL_NO_AUTOLOAD_CONFIG
if (!TEST_true(OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL)))