From b1b0d0efc2dc9bea2e098c8d2c41c83a2489c4bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Wed, 26 Apr 2017 13:54:34 +0200
Subject: [PATCH] =?UTF-8?q?Try=20to=20find=20out=20what=E2=80=99s=20broken?=
 =?UTF-8?q?=20with=20the=20PHP=205.3=20build.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/SimpleSAML/Utils/Crypto.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Utils/Crypto.php b/lib/SimpleSAML/Utils/Crypto.php
index a4ca90126..3dc695980 100644
--- a/lib/SimpleSAML/Utils/Crypto.php
+++ b/lib/SimpleSAML/Utils/Crypto.php
@@ -53,7 +53,8 @@ class Crypto
             }
         }
 
-        throw new \SimpleSAML_Error_Exception("Failed to decrypt ciphertext.");
+        throw new \SimpleSAML_Error_Exception("Failed to decrypt ciphertext \"".
+            base64_encode($ciphertext).'", hmac: "'.base64_encode($hmac).'", iv: "'.base64_encode($iv).'"');
     }
 
 
-- 
GitLab