openssl/ssl
Matt Caswell 1ff8434040 Add the WPACKET_reserve_bytes() function
WPACKET_allocate_bytes() requires you to know the size of the data you
are allocating for, before you create it. Sometimes this isn't the case,
for example we know the maximum size that a signature will be before we
create it, but not the actual size. WPACKET_reserve_bytes() enables us to
reserve bytes in the WPACKET, but not count them as written yet. We then
subsequently need to acall WPACKET_allocate_bytes to actually count them as
written.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-09-29 15:09:02 +01:00
..
record Fix an Uninit read in DTLS 2016-09-29 09:58:14 +01:00
statem Convert CertificateRequest construction to WPACKET 2016-09-29 14:52:55 +01:00
bio_ssl.c Fix BIO_pop for SSL BIOs 2016-07-29 14:09:57 +01:00
build.info First pass at writing a writeable packets API 2016-09-13 09:41:21 +01:00
d1_lib.c Convert HelloVerifyRequest construction to WPACKET 2016-09-22 23:12:38 +01:00
d1_msg.c Whitespace cleanup in ssl folder 2016-06-29 09:56:39 -04:00
d1_srtp.c Convert ServerHello construction to WPACKET 2016-09-29 10:06:46 +01:00
methods.c Indent ssl/ 2016-08-18 14:02:29 +02:00
packet_locl.h Add the WPACKET_reserve_bytes() function 2016-09-29 15:09:02 +01:00
packet.c Add the WPACKET_reserve_bytes() function 2016-09-29 15:09:02 +01:00
pqueue.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s3_cbc.c Indent ssl/ 2016-08-18 14:02:29 +02:00
s3_enc.c Indent ssl/ 2016-08-18 14:02:29 +02:00
s3_lib.c Convert CertificateRequest construction to WPACKET 2016-09-29 14:52:55 +01:00
s3_msg.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_asn1.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_cert.c Style tweaks following review feedback 2016-09-20 10:16:56 +01:00
ssl_ciph.c Remove trailing zeros 2016-08-26 15:18:07 -04:00
ssl_conf.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_err.c Don't allow too many consecutive warning alerts 2016-09-21 20:17:04 +01:00
ssl_init.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_lib.c Revert "Constify code about X509_VERIFY_PARAM" 2016-09-21 10:37:03 -04:00
ssl_locl.h Remove tls12_copy_sigalgs_old() 2016-09-29 14:52:55 +01:00
ssl_mcnf.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_rsa.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_sess.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_stat.c Add missing debug strings. 2016-09-07 16:08:38 -04:00
ssl_txt.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_utst.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
t1_enc.c Indent ssl/ 2016-08-18 14:02:29 +02:00
t1_ext.c Delete some unneeded code 2016-09-29 10:06:46 +01:00
t1_lib.c Remove tls12_copy_sigalgs_old() 2016-09-29 14:52:55 +01:00
t1_reneg.c Convert ServerHello construction to WPACKET 2016-09-29 10:06:46 +01:00
t1_trce.c Ensure trace recognises X25519 2016-09-08 12:34:02 +01:00
tls_srp.c Indent ssl/ 2016-08-18 14:02:29 +02:00