aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib/e-cert-db.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-06-09 04:20:00 +0800
committerChris Toshok <toshok@src.gnome.org>2004-06-09 04:20:00 +0800
commitbed9f63cf5f6afe9191dbdef27695faf3ed8a15a (patch)
tree3d55c6c851ea56db5a3400d94a6bf8158ea7185c /smime/lib/e-cert-db.c
parent19e87233d261b02464fc08ce6a5d2b31f089044b (diff)
downloadgsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.tar
gsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.tar.gz
gsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.tar.bz2
gsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.tar.lz
gsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.tar.xz
gsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.tar.zst
gsoc2013-evolution-bed9f63cf5f6afe9191dbdef27695faf3ed8a15a.zip
quiet the compiler, and dobey.
2004-06-08 Chris Toshok <toshok@ximian.com> * lib/e-cert-db.[ch]: quiet the compiler, and dobey. svn path=/trunk/; revision=26259
Diffstat (limited to 'smime/lib/e-cert-db.c')
-rw-r--r--smime/lib/e-cert-db.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c
index 5a76619e16..5b58c0cbcf 100644
--- a/smime/lib/e-cert-db.c
+++ b/smime/lib/e-cert-db.c
@@ -128,6 +128,7 @@ e_cert_db_dispose (GObject *object)
G_OBJECT_CLASS (parent_class)->dispose (object);
}
+#if notyet
PRBool
ucs2_ascii_conversion_fn (PRBool toUnicode,
unsigned char *inBuf,
@@ -139,6 +140,7 @@ ucs2_ascii_conversion_fn (PRBool toUnicode,
{
printf ("in ucs2_ascii_conversion_fn\n");
}
+#endif
static char* PR_CALLBACK
pk11_password (PK11SlotInfo* slot, PRBool retry, void* arg)
@@ -203,7 +205,9 @@ initialize_nss (void)
SEC_PKCS12EnableCipher(PKCS12_DES_56, 1);
SEC_PKCS12EnableCipher(PKCS12_DES_EDE3_168, 1);
SEC_PKCS12SetPreferredCipher(PKCS12_DES_EDE3_168, 1);
+#if notyet
PORT_SetUCS2_ASCIIConversionFunction(ucs2_ascii_conversion_fn);
+#endif
}
static void
@@ -377,12 +381,12 @@ e_cert_db_find_cert_by_nickname (ECertDB *certdb,
}
}
+#if notyet
ECert*
e_cert_db_find_cert_by_key (ECertDB *certdb,
const char *db_key,
GError **error)
{
-#if 0
/* nsNSSShutDownPreventionLock locker;*/
SECItem keyItem = {siBuffer, NULL, 0};
SECItem *dummy;
@@ -418,7 +422,6 @@ e_cert_db_find_cert_by_key (ECertDB *certdb,
/* XXX gerror */
return NULL;
-#endif
}
GList*
@@ -441,6 +444,7 @@ e_cert_db_find_email_signing_cert (ECertDB *certdb,
GError **error)
{
}
+#endif
ECert*
e_cert_db_find_cert_by_email_address (ECertDB *certdb,
@@ -1110,6 +1114,7 @@ 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,
@@ -1125,6 +1130,7 @@ e_cert_db_import_pkcs12_file (ECertDB *cert_db,
return TRUE;
}
+#endif
gboolean
e_cert_db_export_pkcs12_file (ECertDB *cert_db,