New ctrl to set current certificate.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 2 Feb 2014 02:51:30 +0000 (02:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 2 Feb 2014 23:12:06 +0000 (23:12 +0000)
commite2f06800bce44a87596534b9f23710becf51771a
treee3f390ae5845d6b655620c5aa7d8af54c0cceb57
parent1180833643d7310573366b7e3d36e70c7defba9c
New ctrl to set current certificate.

New ctrl sets current certificate based on certain criteria. Currently
two options: set the first valid certificate as current and set the
next valid certificate as current. Using these an application can
iterate over all certificates in an SSL_CTX or SSL structure.
(cherry picked from commit 0f78819c8ccb7c526edbe90d5b619281366ce75c)
demos/bio/server-arg.c
doc/ssl/SSL_CTX_add1_chain_cert.pod
ssl/s3_lib.c
ssl/ssl.h
ssl/ssl_cert.c
ssl/ssl_locl.h