droe / sslsplit

Transparent SSL/TLS interception
https://www.roe.ch/SSLsplit
BSD 2-Clause "Simplified" License
1.73k stars 327 forks source link

Openssl 3.0 #290

Open mincymathew opened 3 years ago

mincymathew commented 3 years ago

Is support going to be added in sslsplit for openssl 3.0? I built sslsplit against openssl 3.0 Many of the openssl APIs seem to be deprecated.

Thanks.

sonertari commented 3 years ago

It's still in alpha stage. So I don't think we should/can work on it until we see its stable version in package management systems of our supported platforms (Debian has an experimental package for it).

loqs commented 2 years ago

openssl 3.0.0 and 3.0.1 have now been released. Since alpha ERR_GET_FUNC has been removed 1 which is used in pxyconn.c https://github.com/droe/sslsplit/blob/dcce1abea1eea3d74d3c8cae3f426c9373f6189e/pxyconn.c#L2205 meaning sslsplit will no longer compile. ERR_func_error_string now returns NULL 2 it is also used in pxyconn.c https://github.com/droe/sslsplit/blob/dcce1abea1eea3d74d3c8cae3f426c9373f6189e/pxyconn.c#L2207 which when passed to printf is undefined behavior.

sonertari commented 2 years ago

Please apply the commit https://github.com/droe/sslsplit/commit/e17de8454a65d2b9ba432856971405dfcf1e7522 and report back.

loqs commented 2 years ago

Applying e17de8454a65d2b9ba432856971405dfcf1e7522 fixed the issue. Thank you for the fast response.