diff options
Diffstat (limited to 'src/pbe/pbes2/pbes2.cpp')
-rw-r--r-- | src/pbe/pbes2/pbes2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbe/pbes2/pbes2.cpp b/src/pbe/pbes2/pbes2.cpp index 55b3a781a..0e8b3fb86 100644 --- a/src/pbe/pbes2/pbes2.cpp +++ b/src/pbe/pbes2/pbes2.cpp @@ -75,7 +75,7 @@ void PBE_PKCS5v20::flush_pipe(bool safe_to_skip) SecureVector<byte> buffer(DEFAULT_BUFFERSIZE); while(pipe.remaining()) { - u32bit got = pipe.read(buffer, buffer.size()); + u32bit got = pipe.read(&buffer[0], buffer.size()); send(buffer, got); } } |