ellzey/libevhtp — Issue #13: SSL architecture makes packaging/installation hard
Author: nmathewson
Created: 2011-12-15 01:28:09+00:00
State: open

Right now, if you want SSL with your libevhtp, you build it normally, and if you want no SSL, you build it with DISABLE_SSL.

But this doesn't work so well when some programs on a system want SSL support and some don't. Either you need to build two copies of libevhtp (one with ssl and one without), or you need all of your programs to link against openssl whether they actually want SSL support or not.

The usual way to deal with this kind of thing is to stick the ssl support in a separate .a and .so library that programs only need to link when they want SSL support, and add a few callbacks as needed to make it get called as appropriate.