summaryrefslogtreecommitdiffstats
path: root/ssl/packet.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-20 14:47:44 +0100
committerMatt Caswell <matt@openssl.org>2016-09-20 14:47:44 +0100
commit08029dfa03c0ee3a50f373017143aaae5f87d17f (patch)
tree536a5df572e89053310d4b8a4fe6dee4ce56485b /ssl/packet.c
parent85a7a5e6ef633d2b01ef9792463a36b507a35a6a (diff)
Convert WPACKET_put_bytes to use convenience macros
All the other functions that take an argument for the number of bytes use convenience macros for this purpose. We should do the same with WPACKET_put_bytes(). Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/packet.c')
-rw-r--r--ssl/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/packet.c b/ssl/packet.c
index 7d80ebc689..6199469969 100644
--- a/ssl/packet.c
+++ b/ssl/packet.c
@@ -234,7 +234,7 @@ int WPACKET_start_sub_packet(WPACKET *pkt)
return WPACKET_start_sub_packet_len__(pkt, 0);
}
-int WPACKET_put_bytes(WPACKET *pkt, unsigned int val, size_t size)
+int WPACKET_put_bytes__(WPACKET *pkt, unsigned int val, size_t size)
{
unsigned char *data;