|
|
|
@ -336,6 +336,7 @@ confirm(void) {
|
|
|
|
|
static int
|
|
|
|
|
spinecmdhandler (pinentry_t recieved_pinentry) {
|
|
|
|
|
text[0]='\0';
|
|
|
|
|
cursor = 0;
|
|
|
|
|
pinentry = recieved_pinentry;
|
|
|
|
|
|
|
|
|
|
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
|
|
|
|
@ -370,7 +371,6 @@ pinentry_cmd_handler_t pinentry_cmd_handler = spinecmdhandler;
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main(int argc, char *argv[]) {
|
|
|
|
|
|
|
|
|
|
pinentry_init("spine");
|
|
|
|
|
pinentry_parse_opts(argc, argv);
|
|
|
|
|
if (pinentry_loop())
|
|
|
|
|