]> granicus.if.org Git - openssl/commitdiff
Fix mis-named macro in packet_locl.h
authorMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 15:39:32 +0000 (16:39 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 16:07:45 +0000 (17:07 +0100)
A couple of the WPACKET_sub_memcpy* macros were mis-named.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/packet_locl.h

index 8d3fd37c56d6abc93245129f2ed3b388f0b1b096..517c12d4620789444a973e7ce331573a5abc324c 100644 (file)
@@ -779,9 +779,9 @@ int WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len,
     WPACKET_sub_memcpy__((pkt), (src), (len), 1)
 #define WPACKET_sub_memcpy_u16(pkt, src, len) \
     WPACKET_sub_memcpy__((pkt), (src), (len), 2)
-#define WPACKET_sub_memcpy_bytes_u24(pkt, src, len) \
+#define WPACKET_sub_memcpy_u24(pkt, src, len) \
     WPACKET_sub_memcpy__((pkt), (src), (len), 3)
-#define WPACKET_sub_memcpy_bytes_u32(pkt, src, len) \
+#define WPACKET_sub_memcpy_u32(pkt, src, len) \
     WPACKET_sub_memcpy__((pkt), (src), (len), 4)
 
 /*