aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-21 22:02:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-22 05:56:06 +0800
commitcb97c2dc8fd97b381af048f206333d5e557892ae (patch)
treec2901380e607a3b439abb1bed165344ba8f4fc83 /smime/lib
parent64fa8ad9c0851e2d5c1e90ac2e75af8d455d9fea (diff)
downloadgsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar
gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.gz
gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.bz2
gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.lz
gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.xz
gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.tar.zst
gsoc2013-evolution-cb97c2dc8fd97b381af048f206333d5e557892ae.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'smime/lib')
-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);