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/lib/Makefile.am | 4 ---- smime/lib/e-cert.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'smime/lib') 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