aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-21 22:02:58 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:17 +0800
commit5146ff4c535f443fe25290eb96631e91ad44c8ef (patch)
treeb8cc31419c1f297092e13eedd9a5877f4c106eda /smime
parentea8a59a443f861af88ddb21d5dcbde1c95006203 (diff)
downloadgsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar
gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.gz
gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.bz2
gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.lz
gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.xz
gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.tar.zst
gsoc2013-evolution-5146ff4c535f443fe25290eb96631e91ad44c8ef.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'smime')
-rw-r--r--smime/lib/e-asn1-object.c4
-rw-r--r--smime/lib/e-cert.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/smime/lib/e-asn1-object.c b/smime/lib/e-asn1-object.c
index eb8863f46e..144f53db9b 100644
--- a/smime/lib/e-asn1-object.c
+++ b/smime/lib/e-asn1-object.c
@@ -238,7 +238,9 @@ build_from_der (EASN1Object *parent, gchar *data, gchar *end)
return FALSE;
}
data++;
- len = get_der_item_length ((guchar *) data, (guchar *) end, &bytesUsed, &indefinite);
+ len = get_der_item_length (
+ (guchar *) data, (guchar *) end,
+ &bytesUsed, &indefinite);
data += bytesUsed;
if ((len < 0) || ((data+len) > end))
return FALSE;
diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c
index e4e32d4948..6d00ffb20c 100644
--- a/smime/lib/e-cert.c
+++ b/smime/lib/e-cert.c
@@ -1036,12 +1036,14 @@ process_name (CERTName *name, gchar **value)
SECITEM_FreeItem (decodeItem, PR_TRUE);
- /* Translators: This string is used in Certificate details for fields like Issuer
- or Subject, which shows the field name on the left and its respective value
- on the right, both as stored in the certificate itself. You probably do not
- need to change this string, unless changing the order of name and value.
- As a result example: "OU = VeriSign Trust Network"
- */
+ /* Translators: This string is used in Certificate
+ * details for fields like Issuer or Subject, which
+ * shows the field name on the left and its respective
+ * value on the right, both as stored in the
+ * certificate itself. You probably do not need to
+ * change this string, unless changing the order of
+ * name and value. As a result example:
+ * "OU = VeriSign Trust Network" */
temp = g_strdup_printf (_("%s = %s"), type, avavalue->str);
g_string_append (final_string, temp);