diff options
Diffstat (limited to 'src/ssl/cert_ver.cpp')
-rw-r--r-- | src/ssl/cert_ver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ssl/cert_ver.cpp b/src/ssl/cert_ver.cpp index d1d39f74e..7c6725572 100644 --- a/src/ssl/cert_ver.cpp +++ b/src/ssl/cert_ver.cpp @@ -51,9 +51,9 @@ SecureVector<byte> Certificate_Verify::serialize() const SecureVector<byte> buf; u16bit sig_len = signature.size(); - buf.append(get_byte(0, sig_len)); - buf.append(get_byte(1, sig_len)); - buf.append(signature); + buf.push_back(get_byte(0, sig_len)); + buf.push_back(get_byte(1, sig_len)); + buf += signature; return buf; } |