{"action":"closed","issue":{"url":"https://api.github.com/repos/ellzey/libevhtp/issues/13","labels_url":"https://api.github.com/repos/ellzey/libevhtp/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ellzey/libevhtp/issues/13/comments","events_url":"https://api.github.com/repos/ellzey/libevhtp/issues/13/events","html_url":"https://github.com/ellzey/libevhtp/issues/13","id":2562043,"number":13,"title":"SSL architecture makes packaging/installation hard","user":{"login":"nmathewson","id":162054,"avatar_url":"https://avatars.githubusercontent.com/u/162054?v=3","gravatar_id":"","url":"https://api.github.com/users/nmathewson","html_url":"https://github.com/nmathewson","followers_url":"https://api.github.com/users/nmathewson/followers","following_url":"https://api.github.com/users/nmathewson/following{/other_user}","gists_url":"https://api.github.com/users/nmathewson/gists{/gist_id}","starred_url":"https://api.github.com/users/nmathewson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmathewson/subscriptions","organizations_url":"https://api.github.com/users/nmathewson/orgs","repos_url":"https://api.github.com/users/nmathewson/repos","events_url":"https://api.github.com/users/nmathewson/events{/privacy}","received_events_url":"https://api.github.com/users/nmathewson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ellzey/libevhtp/labels/not-a-bug","name":"not-a-bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2011-12-15T01:28:09Z","updated_at":"2015-10-29T18:07:49Z","closed_at":"2015-10-29T18:07:49Z","body":"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.\r\n\r\nBut 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.\r\n\r\nThe 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."}}