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

Diff of /trunk/Src/wptClipboard.cpp

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

revision 225 by twoaday, Mon Dec 12 11:19:56 2005 UTC revision 226 by twoaday, Mon Jun 12 13:40:21 2006 UTC
# Line 90  gpg_clip_parse_pgpid (const char *data, Line 90  gpg_clip_parse_pgpid (const char *data,
90          type |= PGP_SIG;          type |= PGP_SIG;
91      if (strstr (data, "BEGIN PGP PUBLIC KEY BLOCK"))      if (strstr (data, "BEGIN PGP PUBLIC KEY BLOCK"))
92          type |= PGP_PUBKEY;          type |= PGP_PUBKEY;
93      if (strstr (data, "BEGIN PGP PRIVATE KEY BLOCK")      if (strstr (data, "BEGIN PGP PRIVATE KEY BLOCK") ||
94          || strstr (data, "BEGIN PGP SECRET KEY BLOCK"))          strstr (data, "BEGIN PGP SECRET KEY BLOCK"))
95          type |= PGP_SECKEY;          type |= PGP_SECKEY;
96      if (strstr (data, "- -----BEGIN"))      if (strstr (data, "- -----BEGIN"))
97          type |= PGP_DASH_ESCAPED;          type |= PGP_DASH_ESCAPED;

Legend:
Removed from v.225  
changed lines
  Added in v.226

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26