aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib
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/lib
parent4b5f82028ea07df810b81cf04bfe9e4792e1ecb2 (diff)
downloadgsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar
gsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar.gz
gsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar.bz2
gsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar.lz
gsoc2013-evolution-be6ff1542b8c3e074293f7b214985343efd233b3.tar.xz
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/lib')
-rw-r--r--smime/lib/Makefile.am4
-rw-r--r--smime/lib/e-cert.c2
2 files changed, 1 insertions, 5 deletions
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;