]> git.ipfire.org Git - thirdparty/openssl.git/commit - include/internal/packet.h
Give WPACKET the ability to have a NULL buffer underneath it
authorMatt Caswell <matt@openssl.org>
Mon, 10 Jun 2019 16:48:26 +0000 (17:48 +0100)
committerPauli <paul.dale@oracle.com>
Thu, 11 Jul 2019 20:26:46 +0000 (06:26 +1000)
commit15cb0f095878092a625219f58bd915bdf1acc973
treef0c021bb085b0c973cb7e921c20c3871d477ccac
parent8ae173bb57819a23717fd3c8e7c51cb62f4268d0
Give WPACKET the ability to have a NULL buffer underneath it

This means the WPACKET API can be used for calculating the number of
bytes that would have been written if a non-NULL buffer had been used.
This enables us to calculate the number of length bytes required when
encoding ASN.1

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9111)
crypto/packet.c
include/internal/packet.h