BB: uhttpd: do not configure TLS parameters if libustream-ssl is not present
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Aug 2014 12:46:35 +0000 (12:46 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Aug 2014 12:46:35 +0000 (12:46 +0000)
commitdc422c5293779543205cec4a3374e3ced4a37655
tree502c54dc28e6ce95cf8055fd58856ead09909889
parent6c3fc907a4540eabfdaf3bb44310a2bd168d1bba
BB: 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>
Backport of r42284

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42286 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.init