From b3de591c6f50950f49b176eb064f3810195f534e Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 11 Aug 2022 20:06:46 +0200 Subject: [PATCH] Rename of buffer to tmpbuffer to avoid collision with customer setup test. --- src/quic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/quic.c b/src/quic.c index c56fbfecd..35dcd5563 100644 --- a/src/quic.c +++ b/src/quic.c @@ -579,17 +579,17 @@ int wolfSSL_quic_do_handshake(WOLFSSL* ssl) */ #ifdef WOLFSSL_EARLY_DATA if (ssl->quic.early_data_enabled) { - byte buffer[256]; + byte tmpbuffer[256]; int len; if (ssl->options.side == WOLFSSL_CLIENT_END) { if (ssl->options.resuming) { - ret = wolfSSL_write_early_data(ssl, buffer, 0, &len); + ret = wolfSSL_write_early_data(ssl, tmpbuffer, 0, &len); } } else if (/*disables code*/(1)) { - ret = wolfSSL_read_early_data(ssl, buffer, - sizeof(buffer), &len); + ret = wolfSSL_read_early_data(ssl, tmpbuffer, + sizeof(tmpbuffer), &len); if (ret < 0 && ssl->error == ZERO_RETURN) { /* this is expected, since QUIC handles the actual early * data separately. */