]> source.dussan.org Git - nextcloud-server.git/commitdiff
md5 -> sha1
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 17 Dec 2015 10:23:22 +0000 (11:23 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 12 Jan 2016 13:24:47 +0000 (14:24 +0100)
apps/federation/command/syncfederationaddressbooks.php

index 497eba66bec4077fa988aa04a6c4d2900490fe33..d152f1b19db8b02aab0e9a31499915d162272f72 100644 (file)
@@ -59,7 +59,7 @@ class SyncFederationAddressBooks extends Command {
                        if (is_null($sharedSecret)) {
                                continue;
                        }
-                       $targetBookId = md5($url);
+                       $targetBookId = sha1($url);
                        $targetPrincipal = "principals/system/system";
                        $targetBookProperties = [
                                        '{DAV:}displayname' => $url