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

Diff of /trunk/Src/wptGPGMEData.cpp

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

revision 246 by twoaday, Mon Jun 12 13:40:21 2006 UTC revision 247 by twoaday, Fri Jul 21 08:19:24 2006 UTC
# Line 165  is_armor_header (const char *line) Line 165  is_armor_header (const char *line)
165  }  }
166    
167    
   
168  /* Extract the plaintext data from the escaped data object @sig.  /* Extract the plaintext data from the escaped data object @sig.
169     The plaintxt is stored in @r_plain.     The plaintxt is stored in @r_plain.
170     Return value: 0 on success. */     Return value: 0 on success. */
# Line 193  gpg_data_extract_plaintext (gpgme_data_t Line 192  gpg_data_extract_plaintext (gpgme_data_t
192    
193      /* We just support 1 nesting level. */      /* We just support 1 nesting level. */
194      while (gpg_data_readline (sig, line, 128) > 0 ) {      while (gpg_data_readline (sig, line, 128) > 0 ) {
195          if (!strncmp( line, "-----BEGIN PGP SIGNATURE", 24))          if (!strncmp (line, "-----BEGIN PGP SIGNATURE", 24))
196              break; /* end of plaintext */              break; /* end of plaintext */
197          if (!strncmp (line, "- -", 3))          if (!strncmp (line, "- -", 3))
198              pos = 2;              pos = 2;

Legend:
Removed from v.246  
changed lines
  Added in v.247

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26