uhttpd: do not configure TLS parameters if libustream-ssl is not present
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 25 Aug 2014 12:39:34 +0000 (12:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 25 Aug 2014 12:39:34 +0000 (12:39 +0000)
commit730589281ee8940016bacf856d566e7ceab719af
tree2ccff2053c741b628b368365c7d2dbe3fe17dfe0
parent7a1f4c50fa052bc40116f9e243ab15f0fba1ebf2
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>
SVN-Revision: 42284
package/network/services/uhttpd/Makefile
package/network/services/uhttpd/files/uhttpd.init