summaryrefslogtreecommitdiff
path: root/lib/openpgp/pgp.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-11-05 09:50:01 +0100
committerSimon Josefsson <simon@josefsson.org>2009-11-05 09:50:01 +0100
commite2a5fa157eb1c5fcc946a4690553497d2cb04c09 (patch)
tree159d5585846d1ffb7f06d03f4c4f0e46a1d487ba /lib/openpgp/pgp.c
parent91b652d36dcb57db89d7edab6caa88d211f7d859 (diff)
downloadgnutls-e2a5fa157eb1c5fcc946a4690553497d2cb04c09.tar.gz
Indent code.
Diffstat (limited to 'lib/openpgp/pgp.c')
-rw-r--r--lib/openpgp/pgp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/openpgp/pgp.c b/lib/openpgp/pgp.c
index aa2a235a23..0d62b36409 100644
--- a/lib/openpgp/pgp.c
+++ b/lib/openpgp/pgp.c
@@ -200,11 +200,11 @@ _gnutls_openpgp_export (cdk_kbnode_t node,
*output_data_size = calc_size;
if (rc)
- {
- rc = _gnutls_map_cdk_rc (rc);
- gnutls_assert ();
- return rc;
- }
+ {
+ rc = _gnutls_map_cdk_rc (rc);
+ gnutls_assert ();
+ return rc;
+ }
}
return 0;
@@ -363,7 +363,7 @@ gnutls_openpgp_crt_get_name (gnutls_openpgp_crt_t key,
if (buf)
{
memcpy (buf, uid->name, uid->len);
- buf[uid->len] = '\0'; /* make sure it's a string */
+ buf[uid->len] = '\0'; /* make sure it's a string */
}
*sizeof_buf = uid->len + 1;