diff options
author | lloyd <[email protected]> | 2009-01-28 23:11:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-01-28 23:11:19 +0000 |
commit | 99a4f3a728648989878dd8fa6b7cc7188ebcbdad (patch) | |
tree | e6d6566eb9b7768446652ec96dee7aea23242691 /src/entropy/cryptoapi_rng/es_capi.cpp | |
parent | 89b72bf90264acc6cb84ee424e29ec4bd0e7539e (diff) |
Compilation fixes for the Win32 entropy sources.
Diffstat (limited to 'src/entropy/cryptoapi_rng/es_capi.cpp')
-rw-r--r-- | src/entropy/cryptoapi_rng/es_capi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |