aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/gnump/gmp_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/gnump/gmp_wrap.h')
-rw-r--r--src/engine/gnump/gmp_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/gnump/gmp_wrap.h b/src/engine/gnump/gmp_wrap.h
index 0a786f3ee..291d65a01 100644
--- a/src/engine/gnump/gmp_wrap.h
+++ b/src/engine/gnump/gmp_wrap.h
@@ -26,7 +26,7 @@ class GMP_MPZ
size_t bytes() const;
secure_vector<byte> to_bytes() const
- { return BigInt::encode(to_bigint()); }
+ { return BigInt::encode_locked(to_bigint()); }
GMP_MPZ& operator=(const GMP_MPZ&);