From 11c6d02db3bbb90ebb0257860e84d81914eedb33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 18 Feb 2013 15:47:03 +0100
Subject: [PATCH] Deleted const cast in SHEX macro.

---
 ChangeLog             | 2 ++
 testsuite/testutils.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index aaa189c9..153f92ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-02-18  Niels Möller  <nisse@lysator.liu.se>
 
+	* testsuite/testutils.h (SHEX): Deleted const cast.
+
 	* ecc-point.c: New file, struct ecc_point abstraction.
 	* ecc-scalar.c: New file, struct ecc_scalar abstraction.
 	* ecc-random.c (ecc_modq_random, ecc_scalar_random): New file, new
diff --git a/testsuite/testutils.h b/testsuite/testutils.h
index 8b470697..99706025 100644
--- a/testsuite/testutils.h
+++ b/testsuite/testutils.h
@@ -216,7 +216,7 @@ test_ecc_mul_j (unsigned curve, unsigned n, const mp_limb_t *p);
 #define LDATA(x) LLENGTH(x), x
 #define LDUP(x) strlen(x), strdup(x)
 
-#define SHEX(x) ((const struct tstring *) tstring_hex(x))
+#define SHEX(x) (tstring_hex(x))
 #define SDATA(x) ((const struct tstring *)tstring_data(LLENGTH(x), x))
 #define H(x) (SHEX(x)->data)
 
-- 
GitLab