aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-14 02:27:02 +0000
committerlloyd <[email protected]>2010-09-14 02:27:02 +0000
commitd472ea829a530fd6995293904d4f07a7ef8b5472 (patch)
tree3b1fd3913aa1b223444753cb39e973d5753f3b4b /src/ssl
parent77a33b0c16880884cc0326e92c0c30d0e8444a91 (diff)
Remove more implicit vector to pointer conversions
Diffstat (limited to 'src/ssl')
-rw-r--r--src/ssl/cert_req.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/cert_req.cpp b/src/ssl/cert_req.cpp
index 7a7e6eed9..7a32af03b 100644
--- a/src/ssl/cert_req.cpp
+++ b/src/ssl/cert_req.cpp
@@ -131,7 +131,7 @@ void Certificate::deserialize(const MemoryRegion<byte>& buf)
u32bit total_size = make_u32bit(0, buf[0], buf[1], buf[2]);
SecureQueue queue;
- queue.write(buf + 3, buf.size() - 3);
+ queue.write(&buf[3], buf.size() - 3);
if(queue.size() != total_size)
throw Decoding_Error("Certificate: Message malformed");