Check-in [b97c4963e4]
Overview
Comment:ChromeOS: Pass PIN prompt back to the user (unused for now)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b97c4963e4a117e989f02574ccf893a28872e7f2
User & Date: rkeene on 2016-02-15 06:20:31
Other Links: manifest | tags
Context
2016-02-15
06:39
ChromeOS: Restructured initialization so that the Google PCSC Smartcard Manager App ID can be found at runtime check-in: 16b40cb47e user: rkeene tags: trunk
06:20
ChromeOS: Pass PIN prompt back to the user (unused for now) check-in: b97c4963e4 user: rkeene tags: trunk
06:17
ChromeOS: Add new PIN to requests to sign once we gathered a new PIN check-in: ae9cfddbd2 user: rkeene tags: trunk
Changes

Modified build/chrome/cackey-chrome-init.cc from [039bbe7def] to [7e38a33c28].

   132    132   							break;
   133    133   						case CACKEY_CHROME_NEEDLOGIN:
   134    134   						case CACKEY_CHROME_NEEDPROTECTEDLOGIN:
   135    135   							messageAsVar = new pp::Var(message->pp_var());
   136    136   
   137    137   							reply->Set("status", "retry");
   138    138   							reply->Set("originalrequest", messageAsVar);
          139  +							reply->Set("pinprompt", pinPrompt);
   139    140   
   140    141   							delete messageAsVar;
   141    142   
   142    143   							break;
   143    144   					}
          145  +
          146  +					if (pinPrompt != NULL) {
          147  +						free(pinPrompt);
          148  +					}
   144    149   				}
   145    150   			} else {
   146    151   				reply->Set("status", "error");
   147    152   				reply->Set("error", "Invalid command");
   148    153   			}
   149    154   
   150    155   			/*