- http_client_signed: check build_http_request() return before send() and cast to size_t; free key on import_private_only failure. - http_server_verify: consolidate main() error paths around a single "cleanup:" label so pubKey and listenFd are released uniformly (import_public, socket, bind, listen). - test_vectors: guard ed25519_free with per-key init flags so the shared cleanup path never frees an uninitialized struct. - wc_http_sig.h: document that WC_SF_MAX_STRING / WC_SF_MAX_ITEMS drive ~12KB stack usage and must be tuned for embedded targets. - wc_sf: reject *outSz > INT_MAX in wc_SfGenSigParams and wc_SfGenSigInput to guard word32 -> int casts (matches build_signature_base). Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com> |
||
|---|---|---|
| .. | ||
| wc_http_sig.c | ||
| wc_http_sig.h | ||
| wc_sf.c | ||
| wc_sf.h | ||