Support key loading from certificate file
authorDr. Stephen Henson <steve@openssl.org>
Mon, 16 Feb 2015 13:44:22 +0000 (13:44 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 25 Mar 2015 14:19:04 +0000 (14:19 +0000)
commit2011b169fa90edd4d986e7dbbd3d64587d316a22
tree829080631b83a40ab3843a533efb2677bd6c52b6
parent9837bfbfc7a53dd531081b4ba8fe369d9c99116e
Support key loading from certificate file

Support loading of key and certificate from the same file if
SSL_CONF_FLAG_REQUIRE_PRIVATE is set. This is done by remembering the
filename used for each certificate type and attempting to load a private
key from the file when SSL_CONF_CTX_finish is called.

Update docs.

Reviewed-by: Richard Levitte <levitte@openssl.org>
doc/ssl/SSL_CONF_CTX_set_flags.pod
doc/ssl/SSL_CONF_cmd.pod
ssl/ssl.h
ssl/ssl_conf.c