From fa5f2ab56e524d761b90547424681d7350184591 Mon Sep 17 00:00:00 2001
From: Not Zed <NotZed@Ximian.com>
Date: Thu, 17 Jun 2004 03:27:21 +0000
Subject: ** See #59885.

2004-06-17  Not Zed  <NotZed@Ximian.com>

        ** See #59885.

        * lib/e-cert-db.c (e_cert_db_import_pkcs12_file): move the #if
        notyet stuff inside the function so the symbol is defined, since
        we call it eslewhere.  i dunno if it actually works yet.

svn path=/trunk/; revision=26373
---
 smime/lib/e-cert-db.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'smime/lib')

diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c
index 5b58c0cbcf..38e636be96 100644
--- a/smime/lib/e-cert-db.c
+++ b/smime/lib/e-cert-db.c
@@ -1114,12 +1114,12 @@ e_cert_db_import_certs_from_file (ECertDB *cert_db,
 	return rv;  
 }
 
-#if notyet
 gboolean
 e_cert_db_import_pkcs12_file (ECertDB *cert_db,
 			      const char *file_path,
 			      GError **error)
 {
+#if notyet
 	EPKCS12 *pkcs12 = e_pkcs12_new ();
 	GError *e = NULL;
 
@@ -1129,8 +1129,11 @@ e_cert_db_import_pkcs12_file (ECertDB *cert_db,
 	}
 
 	return TRUE;
-}
+#else
+#warning "e_cert_db_import_pkcs12_file not implemented yet"
+	return FALSE;
 #endif
+}
 
 gboolean
 e_cert_db_export_pkcs12_file (ECertDB *cert_db,
-- 
cgit