diff options
author | lloyd <[email protected]> | 2010-09-14 02:05:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-14 02:05:05 +0000 |
commit | 77a33b0c16880884cc0326e92c0c30d0e8444a91 (patch) | |
tree | df2d917b312abb79c8654558399521366dbb2d14 /src/ssl/s_kex.cpp | |
parent | 59a9b0ef260b010606edc3384035b6aa12dd6415 (diff) |
More changes to avoid vector to pointer implicit conversions
Diffstat (limited to 'src/ssl/s_kex.cpp')
-rw-r--r-- | src/ssl/s_kex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/s_kex.cpp b/src/ssl/s_kex.cpp index 9fe37d490..220ef2e0b 100644 --- a/src/ssl/s_kex.cpp +++ b/src/ssl/s_kex.cpp @@ -118,7 +118,7 @@ void Server_Key_Exchange::deserialize(const MemoryRegion<byte>& buf) if(len + so_far > buf.size()) throw Decoding_Error("Server_Key_Exchange: Packet corrupted"); - values[j].set(buf + so_far, len); + values[j].set(&buf[so_far], len); so_far += len; if(j == 2 && so_far == buf.size()) |