diff options
Diffstat (limited to 'src/engine/gnump/gmp_wrap.h')
-rw-r--r-- | src/engine/gnump/gmp_wrap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/gnump/gmp_wrap.h b/src/engine/gnump/gmp_wrap.h index f8d9cf365..82437ceba 100644 --- a/src/engine/gnump/gmp_wrap.h +++ b/src/engine/gnump/gmp_wrap.h @@ -25,6 +25,9 @@ class GMP_MPZ void encode(byte[], u32bit) const; u32bit bytes() const; + SecureVector<byte> to_bytes() const + { return BigInt::encode(to_bigint()); } + GMP_MPZ& operator=(const GMP_MPZ&); GMP_MPZ(const GMP_MPZ&); |