diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-01-18 11:07:58 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-19 13:17:49 +0000 |
commit | 091f532e0ef57cff71ab710c07eb5f6f9bb88b22 (patch) | |
tree | b5754b5b3283b6c9a52bfe53904334690280d09f /test | |
parent | 64222fc0274a88a6f42d5600c4bfdf57eeb40155 (diff) |
QUIC Test Server: Minor fixups
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19734)
Diffstat (limited to 'test')
-rw-r--r-- | test/build.info | 4 | ||||
-rw-r--r-- | test/quic_tserver_test.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info index 177e99a2f5..66c60a77e7 100644 --- a/test/build.info +++ b/test/build.info @@ -1057,7 +1057,9 @@ ENDIF ENDIF IF[{- !$disabled{'quic'} -}] - PROGRAMS{noinst}=quicapitest quic_wire_test quic_ackm_test quic_record_test quic_fc_test quic_stream_test quic_cfq_test quic_txpim_test quic_fifd_test quic_txp_test quic_tserver_test + PROGRAMS{noinst}=quicapitest quic_wire_test quic_ackm_test quic_record_test + PROGRAMS{noinst}=quic_fc_test quic_stream_test quic_cfq_test quic_txpim_test + PROGRAMS{noinst}=quic_fifd_test quic_txp_test quic_tserver_test ENDIF SOURCE[quicapitest]=quicapitest.c helpers/ssltestlib.c diff --git a/test/quic_tserver_test.c b/test/quic_tserver_test.c index 658be7d00b..0e070cb1f2 100644 --- a/test/quic_tserver_test.c +++ b/test/quic_tserver_test.c @@ -21,6 +21,7 @@ static char msg2[1024], msg3[1024]; static int is_want(SSL *s, int ret) { int ec = SSL_get_error(s, ret); + return ec == SSL_ERROR_WANT_READ || ec == SSL_ERROR_WANT_WRITE; } |