# define OSSL_QUIC_TYPES_H
# include <openssl/ssl.h>
+# include <internal/ssl.h>
# include <assert.h>
# include <string.h>
# define QUIC_STATELESS_RESET_TOKEN_LEN 16
-typedef void (*ossl_msg_cb)(int write_p, int version, int content_type,
- const void *buf, size_t len, SSL *ssl, void *arg);
-
# endif
#endif
--- /dev/null
+/*
+ * Copyright 2023 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/ssl.h>
+
+#ifndef OSSL_INTERNAL_SSL_H
+# define OSSL_INTERNAL_SSL_H
+# pragma once
+
+typedef void (*ossl_msg_cb)(int write_p, int version, int content_type,
+ const void *buf, size_t len, SSL *ssl, void *arg);
+
+#endif
# include "internal/bio.h"
# include "internal/ktls.h"
# include "internal/time.h"
+# include "internal/ssl.h"
# include "record/record.h"
# ifdef OPENSSL_BUILD_SHLIBSSL
# define TLS_GROUP_FFDHE_FOR_TLS1_3 (TLS_GROUP_FFDHE|TLS_GROUP_ONLY_FOR_TLS1_3)
-typedef void (*ossl_msg_cb)(int write_p, int version, int content_type,
- const void *buf, size_t len, SSL *ssl, void *arg);
-
struct ssl_ctx_st {
OSSL_LIB_CTX *libctx;