fix for buffer size recomendation

pull/513/head
JacobBarthelmeh 2025-08-01 10:09:49 -06:00
parent 8a11389cca
commit 3c6b062c56
1 changed files with 2 additions and 1 deletions

View File

@ -585,7 +585,8 @@ void print_buffer_recommendations(int* buckets, int* dist, int num_buckets)
total_overhead += dist[i] * wolfSSL_MemoryPaddingSz();
}
total_overhead += WOLFSSL_HEAP_SIZE + WOLFSSL_HEAP_HINT_SIZE;
total_overhead += sizeof(WOLFSSL_HEAP_HINT) + sizeof(WOLFSSL_HEAP) +
WOLFSSL_STATIC_ALIGN;
total_memory_needed = total_bucket_memory + total_overhead;
printf("\nBuffer Size Recommendations:\n");