~ubuntu-branches/ubuntu/quantal/gnutls26/quantal-security

« back to all changes in this revision

Viewing changes to tests/openpgp-keyring.c

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 */
21
21
 
22
22
#ifdef HAVE_CONFIG_H
23
 
# include "config.h"
 
23
#include "config.h"
24
24
#endif
25
25
 
26
26
#include <stdio.h>
213
213
  data.data = raw_keyring;
214
214
  data.size = sizeof (raw_keyring) / sizeof (raw_keyring[0]);
215
215
  ret = gnutls_openpgp_keyring_import (keyring, &data,
216
 
                                       GNUTLS_OPENPGP_FMT_RAW);
 
216
                                       GNUTLS_OPENPGP_FMT_RAW);
217
217
  if (ret < 0)
218
218
    fail ("keyring-import %d\n", ret);
219
219