fix uninitialized variable error

This commit is contained in:
John Bland
2025-03-10 10:18:48 -04:00
parent a344ba1eb2
commit 9b65bc22f1

View File

@ -13432,7 +13432,7 @@ int TLSX_FinalizeEch(WOLFSSL_ECH* ech, byte* aad, word32 aadLen)
int ret = 0; int ret = 0;
void* receiverPubkey = NULL; void* receiverPubkey = NULL;
byte* info = NULL; byte* info = NULL;
int infoLen; int infoLen = 0;
byte* aadCopy = NULL; byte* aadCopy = NULL;
/* setup hpke context to seal, should be done at most once per connection */ /* setup hpke context to seal, should be done at most once per connection */
if (ech->hpkeContext == NULL) { if (ech->hpkeContext == NULL) {