aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui
diff options
context:
space:
mode:
Diffstat (limited to 'smime/gui')
-rw-r--r--smime/gui/e-cert-selector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smime/gui/e-cert-selector.c b/smime/gui/e-cert-selector.c
index 9c64ebb37e..f35510e57e 100644
--- a/smime/gui/e-cert-selector.c
+++ b/smime/gui/e-cert-selector.c
@@ -69,7 +69,7 @@ ecs_find_current(ECertSelector *ecs)
CERTCertListNode *node;
int n;
- if (CERT_LIST_EMPTY(p->certlist))
+ if (p->certlist == NULL || CERT_LIST_EMPTY(p->certlist))
return NULL;
n = gtk_option_menu_get_history((GtkOptionMenu *)p->menu);