Diff

Differences From Artifact [e1139896d5]:

To Artifact [84155dbf3d]:


58
59
60
61
62
63
64

65


66
67
68
69
70
71
72
58
59
60
61
62
63
64
65

66
67
68
69
70
71
72
73
74







+
-
+
+







			if (command.AsString() == "init") {
				if (message->HasKey("smartcardManagerAppId")) {
					smartcardManagerAppId = strdup(message->Get("smartcardManagerAppId").AsString().c_str());
				}

				pcscNaClInit(this, corePointer, smartcardManagerAppId, "CACKey");

				if (smartcardManagerAppId) {
				free((void *) smartcardManagerAppId);
					free((void *) smartcardManagerAppId);
				}

				reply->Set("status", "success");
			} else if (command.AsString() == "listcertificates") {
				numCertificates = cackey_chrome_listCertificates(&certificates);

				certificatesPPArray.SetLength(numCertificates);