diff --git a/main.cpp b/main.cpp index 20505f2..41f43b5 100644 --- a/main.cpp +++ b/main.cpp @@ -61,7 +61,7 @@ void init() { } if (policy == SSL_ALLOWED) { // Policy allowed this cipher choice - fprintf(stderr, "Info: found cipher %x\n", (unsigned) *p); +// fprintf(stderr, "Info: found cipher %x\n", (unsigned) *p); foundGoodCipher = PR_TRUE; break; } @@ -110,13 +110,15 @@ int main(int argc, char *argv[]) { SSL_ImportFD(NULL, tcpSocket); - ui *uiInstance = new ui(argc, argv); - int qAppRetCode = uiInstance->exec(); char messageBuf[1024]; sprintf(messageBuf, "Found IP Address: %s", ipString); uiInstance->mainLog->appendPlainText(messageBuf); + + int qAppRetCode = uiInstance->exec(); + + // Shutdown of NSS SECMOD_DestroyModule(builtInRootsMod); NSS_ShutdownContext(nssContext);