looping properly on failed accept

pull/1/head
Kaleb Himes 2014-05-25 11:38:20 -06:00
parent 36a710754e
commit 4905a34cf7
1 changed files with 4 additions and 2 deletions

View File

@ -284,8 +284,10 @@ int main(int argc, char** argv)
error = SSL_FATAL_ERROR;
}
}
if (ret != SSL_SUCCESS)
err_sys("SSL_accept failed");
if (ret != SSL_SUCCESS){
printf("SSL_accept failed");
continue;
}
printf("Connected!\n");