/[winpt]/trunk/Src/wptKeyEditCB.cpp
ViewVC logotype

Diff of /trunk/Src/wptKeyEditCB.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 175 by twoaday, Mon Jan 30 12:42:57 2006 UTC revision 176 by twoaday, Mon Feb 13 09:38:03 2006 UTC
# Line 293  cmd_addkey_handler (GpgKeyEdit *ctx, gpg Line 293  cmd_addkey_handler (GpgKeyEdit *ctx, gpg
293          return buf;          return buf;
294      }      }
295      if (!strcmp (key, "keygen.valid")) {      if (!strcmp (key, "keygen.valid")) {
296          _snprintf (buf, sizeof (buf)-1, "%d", ctx->valid);          _snprintf (buf, sizeof (buf)-1, "%d", ctx->getValidDays ());
297          return buf;                  return buf;        
298      }      }
299      if (!strcmp (key, "keyedit.prompt")) {      if (!strcmp (key, "keyedit.prompt")) {
# Line 410  cmd_expire_handler (GpgKeyEdit *ctx, gpg Line 410  cmd_expire_handler (GpgKeyEdit *ctx, gpg
410      }      }
411      if( step == 2 && !strcmp ( key, "keygen.valid" ) ) {      if( step == 2 && !strcmp ( key, "keygen.valid" ) ) {
412          *r_step = step = 3;          *r_step = step = 3;
413          sprintf (buf, "%d", ctx->valid);          sprintf (buf, "%d", ctx->getValidDays ());
414          return buf;          return buf;
415      }      }
416      if (step == 3 && !strcmp (key, "passphrase.enter")) {      if (step == 3 && !strcmp (key, "passphrase.enter")) {

Legend:
Removed from v.175  
changed lines
  Added in v.176

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26