From 99a4f3a728648989878dd8fa6b7cc7188ebcbdad Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 28 Jan 2009 23:11:19 +0000 Subject: Compilation fixes for the Win32 entropy sources. --- src/entropy/cryptoapi_rng/es_capi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entropy/cryptoapi_rng') diff --git a/src/entropy/cryptoapi_rng/es_capi.cpp b/src/entropy/cryptoapi_rng/es_capi.cpp index 7cc4d015b..0cad79288 100644 --- a/src/entropy/cryptoapi_rng/es_capi.cpp +++ b/src/entropy/cryptoapi_rng/es_capi.cpp @@ -59,11 +59,11 @@ void Win32_CAPI_EntropySource::poll(Entropy_Accumulator& accum) { CSP_Handle csp(prov_types[j]); - u32bit got = csp.gen_random(io_buffer.begin(), io_buffer.length()); + u32bit got = csp.gen_random(io_buffer.begin(), io_buffer.size()); if(got) { - accum.add(io_buffer.begin(), io_buffer.length(), 8); + accum.add(io_buffer.begin(), io_buffer.size(), 8); break; } } -- cgit v1.2.3