Enable client certificate verification if ssl CA is given

This commit is contained in:
Shuanglei Tao
2016-11-23 23:19:32 +08:00
parent 06b8074b1e
commit 15e2dd96a4
4 changed files with 46 additions and 9 deletions

View File

@@ -133,7 +133,7 @@ thread_run_command(void *args) {
pid_t pid = forkpty(&pty, NULL, NULL, NULL);
switch (pid) {
case -1: /* */
case -1: /* error */
lwsl_err("forkpty\n");
break;
case 0: /* child */