Open kaptenhonek opened 4 years ago
Maybe something like this would help?
With LibreSSL too:
folly/io/async/AsyncSSLSocket.cpp:636:25: error: 'SSL_SESSION_get0_hostname' was not declared in this scope; did you mean 'SSL_SESSION_get_time'?
636 | auto tlsextHostname = SSL_SESSION_get0_hostname(ss);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| SSL_SESSION_get_time
Something like this is requried:
static inline const char *SSL_SESSION_get0_hostname(const SSL_SESSION *sess) {
return sess->tlsext_hostname;
}
https://www.mail-archive.com/haproxy@formilux.org/msg26685.html
@kaptenhonek Hi, I am facing a similar issue. Have you found a solution for this?
@tuxillo Thanks for replying. Can you explain what should I do with the following lines of code you just provided? I am new to this kind of stuff so please don't mind.
@kaptenhonek Hi, I am facing a similar issue. Have you found a solution for this?
No sorry, we decided to not use Folly in our projects. Instead we used boost which has support for LibreSSL
Hello! Does anyone have any ideas for making folly compile with LibreSSL instead of OpenSSL? The main culprit seems to be ASN1_TIME_diff in OpenSSLCertUtils.cpp, LibreSSL doesn't have that definition.