]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: add ssl_sock_get_pkey_algo function
authorEmmanuel Hocdet <manu@gandi.net>
Tue, 31 Oct 2017 14:46:07 +0000 (15:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Mar 2018 10:34:05 +0000 (11:34 +0100)
commit96b7834e98410ddaf46cfc8cd0d7cbcad20f14e7
tree519f304e5c9a3aab6a9273887b1444f97371d92d
parentddc090bc55508305f471fd394579d0787f7ada44
MINOR: ssl: add ssl_sock_get_pkey_algo function

ssl_sock_get_pkey_algo can be used to report pkey algorithm to log
and ppv2 (RSA2048, EC256,...).
Extract pkey information is not free in ssl api (lock/alloc/free):
haproxy can use the pkey information computed in load_certificate.
Store and use this information in a SSL ex_data when available,
compute it if not (SSL multicert bundled and generated cert).
include/proto/ssl_sock.h
src/ssl_sock.c