Add new ctrl to retrieve client certificate types, print out
authorDr. Stephen Henson <steve@openssl.org>
Sun, 8 Jul 2012 14:22:45 +0000 (14:22 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 8 Jul 2012 14:22:45 +0000 (14:22 +0000)
commit9f27b1eec3175305e62eed87faa80e231f319ca0
treea75f48bb0f03a151081bdad6c7da0b1ae3777921
parent9fd603be07f4d486ad38fb107288731743e945be
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.
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