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