~ubuntu-branches/ubuntu/trusty/gnupg/trusty-updates

« back to all changes in this revision

Viewing changes to g10/import.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-10-30 15:30:58 UTC
  • mfrom: (1.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20131030153058-rogo06w7yvzn1qqt
Tags: 1.4.15-1.1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Disable mlock() test since it fails with ulimit 0 (on buildds).
  - Set gpg (or gpg2) and gpgsm to use a passphrase agent by default.
  - Only suggest gnupg-curl and libldap; recommendations are pulled into
    minimal, and we don't need the keyserver utilities in a minimal Ubuntu
    system.
  - Remove the Win32 build.
* Dropped upstreamed patches:
  - debian/patches/CVE-2013-4351.patch
  - debian/patches/CVE-2013-4402.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1175
1175
      }
1176
1176
    stats->secret_read++;
1177
1177
 
 
1178
    if ((options & IMPORT_NO_SECKEY))
 
1179
      {
 
1180
        log_error (_("importing secret keys not allowed\n"));
 
1181
        return 0;
 
1182
      }
 
1183
 
1178
1184
    if( !uidnode )
1179
1185
      {
1180
1186
        log_error( _("key %s: no user ID\n"), keystr_from_sk(sk));