summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_to_unsigned_bin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_to_unsigned_bin.c')
-rw-r--r--libtommath/bn_mp_to_unsigned_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_to_unsigned_bin.c b/libtommath/bn_mp_to_unsigned_bin.c
index e103383..9339cce 100644
--- a/libtommath/bn_mp_to_unsigned_bin.c
+++ b/libtommath/bn_mp_to_unsigned_bin.c
@@ -16,7 +16,7 @@
*/
/* store in unsigned [big endian] format */
-int mp_to_unsigned_bin(mp_int *a, unsigned char *b)
+int mp_to_unsigned_bin(const mp_int *a, unsigned char *b)
{
int x, res;
mp_int t;