aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-12-06 06:35:15 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-12-06 06:35:15 +0800
commitbe6ff1542b8c3e074293f7b214985343efd233b3 (patch)
treedcd6273ef91bade54433d0956caf7aefdad6c2ce /smime
parent4b5f82028ea07df810b81cf04bfe9e4792e1ecb2 (diff)
downloadgsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar.gz
gsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar.zst
gsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.zip
fix for C89
2003-12-05 JP Rosevear <jpr@ximian.com> * lib/e-cert.c: fix for C89 svn path=/trunk/; revision=23655
Diffstat (limited to 'smime')
-rw-r--r--smime/ChangeLog4
-rw-r--r--smime/gui/Makefile.am3
-rw-r--r--smime/lib/Makefile.am4
-rw-r--r--smime/lib/e-cert.c2
4 files changed, 5 insertions, 8 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog
index b82a4c6fa0..a389558c4a 100644
--- a/smime/ChangeLog
+++ b/smime/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-05 JP Rosevear <jpr@ximian.com>
+
+ * lib/e-cert.c: fix for C89
+
2003-12-04 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): set the
diff --git a/smime/gui/Makefile.am b/smime/gui/Makefile.am
index 6b6000dd3d..a15fdade86 100644
--- a/smime/gui/Makefile.am
+++ b/smime/gui/Makefile.am
@@ -11,9 +11,6 @@ INCLUDES = \
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
-DEVOLUTION_UIDIR=\""$(evolutionuidir)"\" \
-DPREFIX=\""$(prefix)"\" \
- -DG_DISABLE_DEPRECATED \
- -DLIBGNOME_DISABLE_DEPRECATED \
- -DLIBGNOMEUI_DISABLE_DEPRECATED \
$(EVOLUTION_ADDRESSBOOK_CFLAGS) \
$(CERT_UI_CFLAGS)
diff --git a/smime/lib/Makefile.am b/smime/lib/Makefile.am
index 69c435fb1e..f534fd01f3 100644
--- a/smime/lib/Makefile.am
+++ b/smime/lib/Makefile.am
@@ -10,10 +10,6 @@ INCLUDES = \
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
-DEVOLUTION_UIDIR=\""$(evolutionuidir)"\" \
-DPREFIX=\""$(prefix)"\" \
- -DG_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
- -DLIBGNOME_DISABLE_DEPRECATED \
- -DLIBGNOMEUI_DISABLE_DEPRECATED \
$(EVOLUTION_ADDRESSBOOK_CFLAGS) \
$(CERT_UI_CFLAGS)
diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c
index b2f4c71769..54f79690d6 100644
--- a/smime/lib/e-cert.c
+++ b/smime/lib/e-cert.c
@@ -705,6 +705,7 @@ process_subject_public_key_info (CERTSubjectPublicKeyInfo *spki,
EASN1Object *spkiSequence = e_asn1_object_new();
EASN1Object *sequenceItem;
EASN1Object *printableItem;
+ SECItem data;
char *text;
e_asn1_object_set_display_name (spkiSequence, _("Subject Public Key Info"));
@@ -720,7 +721,6 @@ process_subject_public_key_info (CERTSubjectPublicKeyInfo *spki,
ProcessRawBytes expects the lenght to be in bytes, so
let's convert the lenght into a temporary SECItem.
*/
- SECItem data;
data.data = spki->subjectPublicKey.data;
data.len = spki->subjectPublicKey.len / 8;