35dbc9
diff -up mutt-1.5.21/crypt-gpgme.c.notation mutt-1.5.21/crypt-gpgme.c
35dbc9
--- mutt-1.5.21/crypt-gpgme.c.notation	2012-04-25 10:26:20.589226791 +0200
35dbc9
+++ mutt-1.5.21/crypt-gpgme.c	2012-04-25 10:28:02.075915855 +0200
35dbc9
@@ -72,7 +72,8 @@
35dbc9
 #define xtoi_2(p)   ((xtoi_1(p) * 16) + xtoi_1((p)+1))
35dbc9
 
35dbc9
 #define PKA_NOTATION_NAME "pka-address@gnupg.org"
35dbc9
-#define is_pka_notation(notation) (! strcmp ((notation)->name, \
35dbc9
+#define is_pka_notation(notation) ((notation)->name && \ 
35dbc9
+                                   ! strcmp ((notation)->name, \ 
35dbc9
 					     PKA_NOTATION_NAME))
35dbc9
 
35dbc9
 /* Values used for comparing addresses. */