aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/gnump/gmp_wrap.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 16:33:20 +0000
committerlloyd <[email protected]>2010-10-13 16:33:20 +0000
commitb502cefaf0f9396354d58c4c18a78ac7870f6168 (patch)
tree8e4d699bd47bcdecaa6c3b670e19743d52047bb8 /src/engine/gnump/gmp_wrap.h
parentfc4c8f57baa06cfc9073ce83a5e3d1547bea86c0 (diff)
parenta142500346e9bef5c4b0905103eac9a494d6822e (diff)
propagate from branch 'net.randombit.botan' (head cba32f885eb7889a9711cbee120df42839deb9d0)
to branch 'net.randombit.botan.c++0x' (head 7cb9cdfda0f3dedab24f1d3bc7e7ea9b22164234)
Diffstat (limited to 'src/engine/gnump/gmp_wrap.h')
-rw-r--r--src/engine/gnump/gmp_wrap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/gnump/gmp_wrap.h b/src/engine/gnump/gmp_wrap.h
index 52d130d6b..fc7aa856e 100644
--- a/src/engine/gnump/gmp_wrap.h
+++ b/src/engine/gnump/gmp_wrap.h
@@ -22,8 +22,8 @@ class GMP_MPZ
mpz_t value;
BigInt to_bigint() const;
- void encode(byte[], u32bit) const;
- u32bit bytes() const;
+ void encode(byte[], size_t) const;
+ size_t bytes() const;
SecureVector<byte> to_bytes() const
{ return BigInt::encode(to_bigint()); }
@@ -32,7 +32,7 @@ class GMP_MPZ
GMP_MPZ(const GMP_MPZ&);
GMP_MPZ(const BigInt& = 0);
- GMP_MPZ(const byte[], u32bit);
+ GMP_MPZ(const byte[], size_t);
~GMP_MPZ();
};