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

Diff of /trunk/Src/wptGPGME.cpp

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

revision 211 by twoaday, Sun May 7 12:36:48 2006 UTC revision 212 by twoaday, Tue May 9 10:29:07 2006 UTC
# Line 217  winpt_get_pubkey (const char *keyid, win Line 217  winpt_get_pubkey (const char *keyid, win
217      k->is_v3 = k->ctx->subkeys->pubkey_algo == GPGME_PK_RSA &&      k->is_v3 = k->ctx->subkeys->pubkey_algo == GPGME_PK_RSA &&
218                  strlen (k->ctx->subkeys->fpr) == 32;                  strlen (k->ctx->subkeys->fpr) == 32;
219      k->is_protected = k->ext->gloflags.is_protected;      k->is_protected = k->ext->gloflags.is_protected;
220      k->keyid = k->ctx->subkeys->keyid;      k->keyid = k->ctx->subkeys->keyid+8;
221      k->uid = k->ctx->uids->uid;      k->uid = k->ext->uids->uid;
222      return 0;      return 0;
223  }  }
224    
# Line 234  winpt_get_seckey (const char *keyid, win Line 234  winpt_get_seckey (const char *keyid, win
234      k->is_v3 = k->ctx->subkeys->pubkey_algo == GPGME_PK_RSA &&      k->is_v3 = k->ctx->subkeys->pubkey_algo == GPGME_PK_RSA &&
235                  strlen (k->ctx->subkeys->fpr) == 32;                  strlen (k->ctx->subkeys->fpr) == 32;
236      k->is_protected = k->ext->gloflags.is_protected;      k->is_protected = k->ext->gloflags.is_protected;
237      k->keyid = k->ctx->subkeys->keyid;      k->keyid = k->ctx->subkeys->keyid+8;
238      k->uid = k->ctx->uids->uid;      k->uid = k->ext->uids->uid;
239      return 0;      return 0;
240  }  }
241    

Legend:
Removed from v.211  
changed lines
  Added in v.212

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26