diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-09-04 21:50:18 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-09-05 09:42:08 +1000 |
commit | b12c07cfba9651ae80b7020ffe8e634f47581389 (patch) | |
tree | eb3bbcafa2f72754e4a2d6b57a807268968cf0a4 /util | |
parent | 09a4b4b72204f973804d60096c513f5ed6b39e4f (diff) | |
download | openssl-b12c07cfba9651ae80b7020ffe8e634f47581389.tar.gz |
quicserver.c: Fix build with no-ssl-trace
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21958)
Diffstat (limited to 'util')
-rw-r--r-- | util/quicserver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/quicserver.c b/util/quicserver.c index c25128eaf6..5a51b240ff 100644 --- a/util/quicserver.c +++ b/util/quicserver.c @@ -217,7 +217,12 @@ int main(int argc, char *argv[]) bio = NULL; if (trace) +#ifndef OPENSSL_NO_SSL_TRACE ossl_quic_tserver_set_msg_callback(qtserv, SSL_trace, bio_err); +#else + BIO_printf(bio_err, + "Warning: -trace specified but no SSL tracing support present\n"); +#endif /* Wait for handshake to complete */ ossl_quic_tserver_tick(qtserv); |