From be6ff1542b8c3e074293f7b214985343efd233b3 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 5 Dec 2003 22:35:15 +0000 Subject: fix for C89 2003-12-05 JP Rosevear * lib/e-cert.c: fix for C89 svn path=/trunk/; revision=23655 --- smime/ChangeLog | 4 ++++ smime/gui/Makefile.am | 3 --- smime/lib/Makefile.am | 4 ---- smime/lib/e-cert.c | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) (limited to 'smime') 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 + + * lib/e-cert.c: fix for C89 + 2003-12-04 Chris Toshok * 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; -- cgit