MINOR: ssl: extract full pkey info in load_certificate
authorEmmanuel Hocdet <manu@gandi.net>
Fri, 27 Oct 2017 16:43:29 +0000 (18:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Mar 2018 10:33:18 +0000 (11:33 +0100)
commitddc090bc55508305f471fd394579d0787f7ada44
treed194612b799ff94402095a6efcc658fa1c56a8f3
parent8c0c34b6e731e3163c0644f50863deb9b7634fdc
MINOR: ssl: extract full pkey info in load_certificate

Private key information is used in switchctx to implement native multicert
selection (ecdsa/rsa/anonymous). This patch extract and store full pkey
information: dsa type and pkey size in bits. This can be used for switchctx
or to report pkey informations in ppv2 and log.
include/types/ssl_sock.h
src/ssl_sock.c