commit | 15969297af0371fec1523f7a4182dae87e19c782 | [log] [tgz] |
---|---|---|
author | Emmanuel Hocdet <manu@gandi.net> | Fri Aug 11 10:56:00 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 11 11:35:26 2017 +0200 |
tree | 579621a3eea4c9f708a0b88c5b27b2fdf9eee6a4 | |
parent | 286ec68f8230853f6e19913022b97cd7b9dad0e8 [diff] |
BUILD: ssl: replace SSL_CTX_get0_privatekey for openssl < 1.0.2 Commit 48a8332a introduce SSL_CTX_get0_privatekey in openssl-compat.h but SSL_CTX_get0_privatekey access internal structure and can't be a candidate to openssl-compat.h. The workaround with openssl < 1.0.2 is to use SSL_new then SSL_get_privatekey.