~ubuntu-branches/ubuntu/lucid/gpgme1.0/lucid-security

« back to all changes in this revision

Viewing changes to gpgme/genkey.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-07-30 10:49:21 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070730104921-g11b6qvc81o611zh
Tags: 1.1.5-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules: enable tests.
  - debian/control: adjust Maintainers field

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
 
143
143
  endtag = strstr (content, "</GnupgKeyParms>");
144
144
  /* FIXME: Check that there are no control statements inside.  */
145
 
  while (*content == '\n')
 
145
  while (content[0] == '\n'
 
146
         || (content[0] == '\r' && content[1] == '\n'))
146
147
    content++;
147
148
 
148
149
  return gpgme_data_new_from_mem (key_parameter, content,