Add support for certificate stores in CERT structure. This makes it
authorDr. Stephen Henson <steve@openssl.org>
Mon, 23 Jul 2012 23:34:28 +0000 (23:34 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 23 Jul 2012 23:34:28 +0000 (23:34 +0000)
commit74ecfab401fe65d23d9b297bf396efca3e419e47
tree8973a35de9df0e74464f8b6dcef0703aa2636dee
parent5818a07a4fdae6cff28c625f947b409f21b34c53
Add support for certificate stores in CERT structure. This makes it
possible to have different stores per SSL structure or one store in
the parent SSL_CTX. Include distint stores for certificate chain
verification and chain building. New ctrl SSL_CTRL_BUILD_CERT_CHAIN
to build and store a certificate chain in CERT structure: returing
an error if the chain cannot be built: this will allow applications
to test if a chain is correctly configured.

Note: if the CERT based stores are not set then the parent SSL_CTX
store is used to retain compatibility with existing behaviour.
CHANGES
apps/s_apps.h
apps/s_cb.c
apps/s_client.c
apps/s_server.c
ssl/s3_lib.c
ssl/ssl.h
ssl/ssl_cert.c
ssl/ssl_err.c
ssl/ssl_locl.h