summaryrefslogtreecommitdiffstats
path: root/ssl/packet.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-12-02 11:10:16 +0000
committerMatt Caswell <matt@openssl.org>2016-12-05 17:05:40 +0000
commit829754a62245df76584078011f045185218c60c4 (patch)
tree9e14f80a7d22dd0566885e334c1f9d22b5808830 /ssl/packet.c
parent88858868ab7b55d17c259f7f2d631d1d984c6139 (diff)
Various style fixes from the TLSv1.3 record changes review
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 f7b5efa400..12321e719e 100644
--- a/ssl/packet.c
+++ b/ssl/packet.c
@@ -63,7 +63,7 @@ int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes)
return 0;
}
if (allocbytes != NULL)
- *allocbytes = GETBUF(pkt) + pkt->curr;
+ *allocbytes = WPACKET_get_curr(pkt);
return 1;
}