aboutsummaryrefslogtreecommitdiff
path: root/ssl/packet_locl.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-29 18:00:01 +0100
committerMatt Caswell <matt@openssl.org>2016-09-29 18:00:01 +0100
commitb36017fe5f2ee0a2cbc1028d842a183e0ac22da7 (patch)
tree747841e6df5cf255650f5590ae53b77018b977b8 /ssl/packet_locl.h
parentcc59ad1073c49cbb173708d7377df06ad3786f4c (diff)
downloadopenssl-b36017fe5f2ee0a2cbc1028d842a183e0ac22da7.zip
openssl-b36017fe5f2ee0a2cbc1028d842a183e0ac22da7.tar.gz
openssl-b36017fe5f2ee0a2cbc1028d842a183e0ac22da7.tar.bz2
Fix an error in packet_locl.h
A convenience macro was using the wrong underlying function. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/packet_locl.h')
-rw-r--r--ssl/packet_locl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/packet_locl.h b/ssl/packet_locl.h
index 517c12d..55e41bb 100644
--- a/ssl/packet_locl.h
+++ b/ssl/packet_locl.h
@@ -758,7 +758,7 @@ int WPACKET_put_bytes__(WPACKET *pkt, unsigned int val, size_t bytes);
#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);