diff options
author | jsing <> | 2022-08-21 19:18:57 +0000 |
---|---|---|
committer | jsing <> | 2022-08-21 19:18:57 +0000 |
commit | 14c1d07ebeba51e7c5d52a7a218214dcd39548d4 (patch) | |
tree | 5540079df24aefeb01b22cc8bd9aa7a7c6cb4021 /src/lib/libssl/tls13_quic.c | |
parent | 241884636e350bc9aa3c9962e626ddcc8e4a566e (diff) | |
download | openbsd-14c1d07ebeba51e7c5d52a7a218214dcd39548d4.tar.gz openbsd-14c1d07ebeba51e7c5d52a7a218214dcd39548d4.tar.bz2 openbsd-14c1d07ebeba51e7c5d52a7a218214dcd39548d4.zip |
Provide and use QUIC specific error reasons.
ok tb@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/tls13_quic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_quic.c b/src/lib/libssl/tls13_quic.c index 52e09f03eb..f58a0b8b28 100644 --- a/src/lib/libssl/tls13_quic.c +++ b/src/lib/libssl/tls13_quic.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_quic.c,v 1.2 2022/07/24 14:31:37 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_quic.c,v 1.3 2022/08/21 19:18:57 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -25,7 +25,7 @@ tls13_quic_wire_read_cb(void *buf, size_t n, void *arg) | |||
25 | struct tls13_ctx *ctx = arg; | 25 | struct tls13_ctx *ctx = arg; |
26 | SSL *ssl = ctx->ssl; | 26 | SSL *ssl = ctx->ssl; |
27 | 27 | ||
28 | SSLerror(ssl, ERR_R_INTERNAL_ERROR); | 28 | SSLerror(ssl, SSL_R_QUIC_INTERNAL_ERROR); |
29 | return TLS13_IO_FAILURE; | 29 | return TLS13_IO_FAILURE; |
30 | } | 30 | } |
31 | 31 | ||
@@ -35,7 +35,7 @@ tls13_quic_wire_write_cb(const void *buf, size_t n, void *arg) | |||
35 | struct tls13_ctx *ctx = arg; | 35 | struct tls13_ctx *ctx = arg; |
36 | SSL *ssl = ctx->ssl; | 36 | SSL *ssl = ctx->ssl; |
37 | 37 | ||
38 | SSLerror(ssl, ERR_R_INTERNAL_ERROR); | 38 | SSLerror(ssl, SSL_R_QUIC_INTERNAL_ERROR); |
39 | return TLS13_IO_FAILURE; | 39 | return TLS13_IO_FAILURE; |
40 | } | 40 | } |
41 | 41 | ||