commit | 96b7834e98410ddaf46cfc8cd0d7cbcad20f14e7 | [log] [tgz] |
---|---|---|
author | Emmanuel Hocdet <manu@gandi.net> | Tue Oct 31 15:46:07 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 01 11:34:05 2018 +0100 |
tree | 519f304e5c9a3aab6a9273887b1444f97371d92d | |
parent | ddc090bc55508305f471fd394579d0787f7ada44 [diff] |
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).