aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-11-10 15:52:06 +0800
committerMilan Crha <mcrha@redhat.com>2011-11-10 15:52:06 +0800
commit20f2edf9dd34364eb7506da272878cf1379bf488 (patch)
treeab0d119cfdc5effc11b43cc5e569675066af1f9f
parent6ce6b1e9d5b887d12d06957e8204cf8b1b218f02 (diff)
downloadgsoc2013-evolution-20f2edf9dd34364eb7506da272878cf1379bf488.tar.gz
gsoc2013-evolution-20f2edf9dd34364eb7506da272878cf1379bf488.tar.zst
gsoc2013-evolution-20f2edf9dd34364eb7506da272878cf1379bf488.zip
Do not crash on CA certificate import (in select_certificate())
-rw-r--r--smime/gui/certificate-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c
index 0a69d6ba06..e1df1d3fe1 100644
--- a/smime/gui/certificate-manager.c
+++ b/smime/gui/certificate-manager.c
@@ -473,6 +473,7 @@ select_certificate (CertPage *cp,
fcd.cp = cp;
fcd.cert = cert;
+ fcd.path = NULL;
gtk_tree_model_foreach (model, find_cert_cb, &fcd);