uhttpd: do not configure TLS parameters if libustream-ssl is not present
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Aug 2014 12:39:34 +0000 (12:39 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Aug 2014 12:39:34 +0000 (12:39 +0000)
commita45bfae77117943ee7f202e1a47e4b0207982060
treea0b816fe7f75252a1b0d26b0085b8422cd7bcfdf
parenteac9d9077af67ba09bb3757e97e4785ef6a2ac7f
uhttpd: do not configure TLS parameters if libustream-ssl is not present

A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42284 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.init