]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Deleted const cast in SHEX macro.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 18 Feb 2013 14:47:03 +0000 (15:47 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 18 Feb 2013 14:47:03 +0000 (15:47 +0100)
ChangeLog
testsuite/testutils.h

index aaa189c947dc41b20daeed26f95fb1e3590ad6d1..153f92ae90e064c62db575d4b630799d6d67e3f6 100644 (file)
--- 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
index 8b470697bea9836b71d4e81b74e5703577de8d44..99706025ec95205739c29ed6cac0965dff5957ae 100644 (file)
@@ -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)