mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Rename of buffer to tmpbuffer to avoid collision with customer setup test.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user