Commit 6f2c6643 authored by Jose Dapena Paz's avatar Jose Dapena Paz Committed by Commit Bot

GCC: missing & calling CBBFunctionToVector in Ed25519PrivateKey

Bug: 819294
Change-Id: I073c5b4200b92736ba533c176fb116f83f3ee8ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248758
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
Reviewed-by: default avatarMartin Kreichgauer <martinkr@google.com>
Cr-Commit-Position: refs/heads/master@{#779357}
parent 1c3ed69a
...@@ -215,7 +215,7 @@ class Ed25519PrivateKey : public EVPBackedPrivateKey { ...@@ -215,7 +215,7 @@ class Ed25519PrivateKey : public EVPBackedPrivateKey {
cbor::Writer::Write(cbor::Value(std::move(map)))); cbor::Writer::Write(cbor::Value(std::move(map))));
std::vector<uint8_t> der_bytes( std::vector<uint8_t> der_bytes(
CBBFunctionToVector<decltype(EVP_marshal_public_key), CBBFunctionToVector<decltype(&EVP_marshal_public_key),
EVP_marshal_public_key>(pkey_.get())); EVP_marshal_public_key>(pkey_.get()));
return std::make_unique<PublicKey>( return std::make_unique<PublicKey>(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment