git ssb

0+

cel / sslh



Commit dd900ebf3ec86a097f9cca945d6e95b62fa16a48

fail gracefully if target protocol decription is incomplete

Yves Rutschle committed on 7/9/2017, 6:51:53 PM
Parent: 21f524f71165538dcde9f8de32b9f69385ba0c87

Files changed

sslh-main.cchanged
sslh-main.cView
@@ -332,8 +332,11 @@
332332 if (!strcmp(name, "tls")) {
333333 setup_sni_alpn(p, prot);
334334 }
335335
336+ } else {
337+ fprintf(stderr, "line %d: Illegal protocol description (missing name, host or port)\n", config_setting_source_line(prot));
338+ exit(1);
336339 }
337340 }
338341 }
339342

Built with git-ssb-web