]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/internal/quic_error.h
Copyright year updates
[thirdparty/openssl.git] / include / internal / quic_error.h
CommitLineData
508e087c 1/*
b6461792 2 * Copyright 2022-2024 The OpenSSL Project Authors. All Rights Reserved.
508e087c
HL
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifndef OSSL_QUIC_ERROR_H
11# define OSSL_QUIC_ERROR_H
12
13# include <openssl/ssl.h>
02f5ab77 14# include <openssl/quic.h>
508e087c 15
6292519c
HL
16# ifndef OPENSSL_NO_QUIC
17
02f5ab77
HL
18# define OSSL_QUIC_ERR_CRYPTO_UNEXPECTED_MESSAGE \
19 OSSL_QUIC_ERR_CRYPTO_ERR(SSL3_AD_UNEXPECTED_MESSAGE)
20
21# define OSSL_QUIC_ERR_CRYPTO_MISSING_EXT \
22 OSSL_QUIC_ERR_CRYPTO_ERR(TLS13_AD_MISSING_EXTENSION)
23
24# define OSSL_QUIC_ERR_CRYPTO_NO_APP_PROTO \
25 OSSL_QUIC_ERR_CRYPTO_ERR(TLS1_AD_NO_APPLICATION_PROTOCOL)
80bcc4f1 26
39892246 27const char *ossl_quic_err_to_string(uint64_t error_code);
741170be 28
6292519c 29# endif
508e087c
HL
30
31#endif