[tor-dev] tor and libressl
Leo Unglaub
leo at leo-unglaub.net
Sat Feb 21 12:51:01 UTC 2015
Hey,
On 02/21/15 13:45, Ximin Luo wrote:
> Could you write some more details about how you got this to work? For example, did you link in libressl during the build, did you have to change anything, or did you just drop-in libressl.so (or whatever) to a pre-built tor and have everything work?
it's actually quit easy. If you use OpenBSD for example there is already
libressl installed. They have keept the same old API from OpenSSL so you
could build applications the same way as you did with OpenSSL.
They have also added a more modern API called libtls:
http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/tls_accept_socket.3?query=tls_init&sec=3
Greetings
Leo
--
Leo Unglaub
Website: https://www.leo-unglaub.net
Twitter: https://twitter.com/LeoUnglaub
More information about the tor-dev
mailing list