summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_method.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-05-13 15:34:22 +0200
committerPauli <pauli@openssl.org>2022-06-03 12:07:17 +1000
commit99e1cc7bcae2e3707913881d7108c92b7a9bf7a1 (patch)
tree6fad786ab896104219e0a89ed888ce2bf5c4db33 /ssl/quic/quic_method.c
parent770ea54b58769bae07e22a92e0c12ece9bdbc8e2 (diff)
Add empty implementations of quic method functions
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18307)
Diffstat (limited to 'ssl/quic/quic_method.c')
-rw-r--r--ssl/quic/quic_method.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/ssl/quic/quic_method.c b/ssl/quic/quic_method.c
new file mode 100644
index 0000000000..2c769f1340
--- /dev/null
+++ b/ssl/quic/quic_method.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include <openssl/macros.h>
+#include <openssl/objects.h>
+#include "quic_local.h"
+
+IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION,
+ OSSL_QUIC_client_method,
+ ssl_undefined_function,
+ ossl_quic_connect, ssl3_undef_enc_method)
+
+IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION,
+ 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)