Hi Manu, On Thu, Jul 06, 2017 at 11:10:41AM +0200, Emmanuel Hocdet wrote: > SSL_SESSION_get0_hostname take a ssl_session not a ssl structure.
Ah crap! I did create the ssl_sess variable but forgot to change it in the struct. It's likely that the address is the same here because the code worked! Thanks! > in openssl-compat.h a section is used for others functions like > SSL_SESSION_get0_X introduce in openssl 1.1.0 Ah much better, thank you! > With this diff, it build with boringssl and openssl 1.0.2k. It should also be > ok with libressl Cool, I'll refine the patch with yours, many thanks! Willy