Add new ctrl to retrieve client certificate types, print out
authorDr. Stephen Henson <steve@openssl.org>
Wed, 26 Dec 2012 14:51:37 +0000 (14:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 26 Dec 2012 14:51:37 +0000 (14:51 +0000)
commita897502cd9e4bf3d1fe7ccd0838643b3ca44031c
tree612a5020f946a2a019eec7a3df0d31d13cfe646c
parent8546add6923d783b586ee94e1760f81ffae4e380
Add new ctrl to retrieve client certificate types, print out
details in s_client.

Also add ctrl to set client certificate types. If not used sensible values
will be included based on supported signature algorithms: for example if
we don't include any DSA signing algorithms the DSA certificate type is
omitted.

Fix restriction in old code where certificate types would be truncated
if it exceeded TLS_CT_NUMBER.
(backport from HEAD)
CHANGES
apps/s_apps.h
apps/s_cb.c
apps/s_client.c
apps/s_server.c
ssl/s3_clnt.c
ssl/s3_lib.c
ssl/ssl.h
ssl/ssl_cert.c
ssl/ssl_locl.h