BB: uhttpd: do not configure TLS parameters if libustream-ssl is not present
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 25 Aug 2014 12:46:35 +0000 (12:46 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 25 Aug 2014 12:46:35 +0000 (12:46 +0000)
commit9734a42d684163623e211e434668fa39b6f088b8
treeaff497eb1bfe901239b5cf80b8f64cc45e1a3015
parentf0fd1727333e756f1f5a87bc3145d20d43fb42c5
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

SVN-Revision: 42286
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.init