Blame SOURCES/evolution-data-server-3.28.5-cve-2019-3890.patch

cab8b9
diff -up evolution-data-server-3.28.5/src/libedataserver/e-data-server-util.c.cve-2019-3890 evolution-data-server-3.28.5/src/libedataserver/e-data-server-util.c
cab8b9
--- evolution-data-server-3.28.5/src/libedataserver/e-data-server-util.c.cve-2019-3890	2019-04-15 09:25:49.273786456 +0200
cab8b9
+++ evolution-data-server-3.28.5/src/libedataserver/e-data-server-util.c	2019-04-15 09:35:00.784778830 +0200
cab8b9
@@ -3147,11 +3147,13 @@ e_util_can_use_collection_as_credential_
cab8b9
 				if (can_use_collection) {
cab8b9
 					gchar *method_source, *method_collection;
cab8b9
 
cab8b9
-					/* Also check the method; if different, then rather not use the collection */
cab8b9
+					/* Also check the method; if different, then rather not use the collection.
cab8b9
+					   Consider 'none' method on the child as the same as the collection method. */
cab8b9
 					method_source = e_source_authentication_dup_method (auth_source);
cab8b9
 					method_collection = e_source_authentication_dup_method (auth_collection);
cab8b9
 
cab8b9
 					can_use_collection = !method_source || !method_collection ||
cab8b9
+						g_ascii_strcasecmp (method_source, "none") == 0 ||
cab8b9
 						g_ascii_strcasecmp (method_source, method_collection) == 0;
cab8b9
 
cab8b9
 					g_free (method_source);