A convenience macro was using the wrong underlying function.
Reviewed-by: Rich Salz <rsalz@openssl.org>
#define WPACKET_put_bytes_u24(pkt, val) \
WPACKET_put_bytes__((pkt), (val), 3)
#define WPACKET_put_bytes_u32(pkt, val) \
- WPACKET_sub_allocate_bytes__((pkt), (val), 4)
+ WPACKET_put_bytes__((pkt), (val), 4)
/* Set a maximum size that we will not allow the WPACKET to grow beyond */
int WPACKET_set_max_size(WPACKET *pkt, size_t maxsize);