Tidy/enhance certificate chain output code.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 26 Jan 2012 15:47:32 +0000 (15:47 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 26 Jan 2012 15:47:32 +0000 (15:47 +0000)
commit4379d0e457ebd404f248d2e2c265ff11d25bfab4
tree93ec296b7e1a7ab646e2d721712153323a309b79
parent7568d15acddd07e8da0c436e84c0f5c4c015e325
Tidy/enhance certificate chain output code.

New function ssl_add_cert_chain which adds a certificate chain to
SSL internal BUF_MEM. Use this function in ssl3_output_cert_chain
and dtls1_output_cert_chain instead of partly duplicating code.
ssl/d1_both.c
ssl/s3_both.c
ssl/ssl.h
ssl/ssl_cert.c
ssl/ssl_err.c
ssl/ssl_locl.h