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