diff options
author | Matt Caswell <matt@openssl.org> | 2023-09-26 12:14:56 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-09-28 09:49:49 +0100 |
commit | 7f5b29c4bf909964f1a73d80af1474f0e4a95624 (patch) | |
tree | 26d8cf848eeb9f508cf9a3c28855ac1f722c7c52 /test | |
parent | b07107e31149bf870bc1ae17e59444859fe4e23a (diff) |
Fix no-ssl-trace
Ensure we use OPENSSL_NO_SSL_TRACE guards where appropriate.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22193)
Diffstat (limited to 'test')
-rw-r--r-- | test/helpers/quictestlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/helpers/quictestlib.c b/test/helpers/quictestlib.c index 8d71d6002f..514bb6422a 100644 --- a/test/helpers/quictestlib.c +++ b/test/helpers/quictestlib.c @@ -98,6 +98,7 @@ int qtest_create_quic_objects(OSSL_LIB_CTX *libctx, SSL_CTX *clientctx, return 0; } +#ifndef OPENSSL_NO_SSL_TRACE if ((flags & QTEST_FLAG_CLIENT_TRACE) != 0) { tmpbio = BIO_new_fp(stdout, BIO_NOCLOSE); if (!TEST_ptr(tmpbio)) @@ -106,6 +107,7 @@ int qtest_create_quic_objects(OSSL_LIB_CTX *libctx, SSL_CTX *clientctx, SSL_set_msg_callback(*cssl, SSL_trace); SSL_set_msg_callback_arg(*cssl, tmpbio); } +#endif if (tracebio != NULL) *tracebio = tmpbio; |