diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-02-13 17:03:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-02-13 17:03:49 +0000 |
commit | 2f039d41169b95fa1ee9b1be9fbdc8e899707d25 (patch) | |
tree | ca950f34435d23b661f252bb97886b01d43c5da6 | |
parent | d1dedcb21e7ba074a0a83fad09a742e54a8d1525 (diff) | |
parent | ba47e022facc1fe7b9f71b29289539a33d377b6e (diff) |
Merge "[HICN-62] Using the new API in libparc to remove a per-packet copy of the signature"
-rw-r--r-- | libtransport/src/hicn/transport/utils/signer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/utils/signer.cc b/libtransport/src/hicn/transport/utils/signer.cc index d3a322a5e..7ebbc4636 100644 --- a/libtransport/src/hicn/transport/utils/signer.cc +++ b/libtransport/src/hicn/transport/utils/signer.cc @@ -129,7 +129,7 @@ void Signer::sign(Packet &packet) { utils::CryptoHash hash = hasher.finalize(); - PARCSignature *signature = parcSigner_SignDigest( + PARCSignature *signature = parcSigner_SignDigestNoAlloc( this->signer_, hash.hash_, packet.getSignature(), sign_len_bytes); PARCBuffer *buffer = parcSignature_GetSignature(signature); |