diff options
Diffstat (limited to 'ssl/quic')
-rw-r--r-- | ssl/quic/json_enc.c | 2 | ||||
-rw-r--r-- | ssl/quic/qlog.c | 6 | ||||
-rw-r--r-- | ssl/quic/qlog_event_helpers.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ssl/quic/json_enc.c b/ssl/quic/json_enc.c index 302479a5d5..da698c2222 100644 --- a/ssl/quic/json_enc.c +++ b/ssl/quic/json_enc.c @@ -603,7 +603,7 @@ void ossl_json_f64(OSSL_JSON_ENC *json, double value) return; } - snprintf(buf, sizeof(buf), "%1.17g", value); + BIO_snprintf(buf, sizeof(buf), "%1.17g", value); json_write_str(json, buf); json_post_item(json); } diff --git a/ssl/quic/qlog.c b/ssl/quic/qlog.c index 7299d69515..1d07b6f629 100644 --- a/ssl/quic/qlog.c +++ b/ssl/quic/qlog.c @@ -335,9 +335,9 @@ static void qlog_event_seq_header(QLOG *qlog) if (qlog->info.override_impl_name != NULL) { p = qlog->info.override_impl_name; } else { - snprintf(buf, sizeof(buf), "OpenSSL/%s (%s)", - OpenSSL_version(OPENSSL_FULL_VERSION_STRING), - OpenSSL_version(OPENSSL_PLATFORM) + 10); + BIO_snprintf(buf, sizeof(buf), "OpenSSL/%s (%s)", + OpenSSL_version(OPENSSL_FULL_VERSION_STRING), + OpenSSL_version(OPENSSL_PLATFORM) + 10); } ossl_json_key(&qlog->json, "type"); diff --git a/ssl/quic/qlog_event_helpers.c b/ssl/quic/qlog_event_helpers.c index 6a72602990..997bf7603a 100644 --- a/ssl/quic/qlog_event_helpers.c +++ b/ssl/quic/qlog_event_helpers.c @@ -130,8 +130,8 @@ void ossl_qlog_event_connectivity_connection_closed(QLOG *qlog, if (tcause->error_code >= QUIC_ERR_CRYPTO_ERR_BEGIN && tcause->error_code <= QUIC_ERR_CRYPTO_ERR_END) { - snprintf(ce, sizeof(ce), "crypto_error_0x%03llx", - (unsigned long long)tcause->error_code); + BIO_snprintf(ce, sizeof(ce), "crypto_error_0x%03llx", + (unsigned long long)tcause->error_code); m = ce; } /* TODO(QLOG FUTURE): Consider adding ERR information in the output. */ |