diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-03-29 14:54:33 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-04-19 09:33:52 +0100 |
commit | 366c53cf1a6fb1d67c8103e6b8ec450acf53607d (patch) | |
tree | 01d3a6d94cd80078d22d122911f3f25b5d3526fb | |
parent | 4d6ca3646010ac4bb9d935188af97c014f00705e (diff) |
Minor fix
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23995)
-rw-r--r-- | ssl/quic/quic_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index b8530257e9..a4e4beb153 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -2582,8 +2582,8 @@ static int quic_write_nonblocking_epw(QCTX *ctx, const void *buf, size_t len, qctx_should_autotick(ctx)); if (*written == 0) - /* SSL_write_ex returns 0 if it didn't read anything. */ - return QUIC_RAISE_NORMAL_ERROR(ctx, SSL_ERROR_WANT_READ); + /* SSL_write_ex returns 0 if it didn't write anything. */ + return QUIC_RAISE_NORMAL_ERROR(ctx, SSL_ERROR_WANT_WRITE); return 1; } |