From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 05 Feb 2016 07:25:27 -0500
Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports

---
 plugins/password/helpers/dovecot_hmacmd5.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/password/helpers/dovecot_hmacmd5.php b/plugins/password/helpers/dovecot_hmacmd5.php
index 644b537..da4d005 100644
--- a/plugins/password/helpers/dovecot_hmacmd5.php
+++ b/plugins/password/helpers/dovecot_hmacmd5.php
@@ -187,5 +187,5 @@
 
 function dovecot_hmacmd5 ($s) {
 	if (strlen($s) > 64) $s=pack("H*", md5($s));
-	return "{CRAM-MD5}" . md5_oneround($s, 0) . md5_oneround($s, 1);
+	return md5_oneround($s, 0) . md5_oneround($s, 1);
 }

--
Gitblit v1.9.1