sig init
parent
94b36d99ce
commit
0c05c40f56
|
@ -51,9 +51,9 @@ void* ThreadControl(void*);
|
|||
void sig_handler(const int sig)
|
||||
{
|
||||
printf("\nSIGINT handled.\n");
|
||||
cleanup = 1;
|
||||
CyaSSL_CTX_free(ctx);
|
||||
CyaSSL_Cleanup();
|
||||
cleanup = 1;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue