commit | b55e5d39e2dbc2578fec9a1ad005d4c1187fcd8b | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Wed Jul 18 13:32:00 2018 -0600 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Wed Jul 18 13:32:00 2018 -0600 |
tree | 84c172c1b62ffcd6e71f927d5a5bbc644edbf96f | |
parent | 54d74c25a0969d9d452bae85cd9382d309c76bed [diff] [blame] |
interest: declare default CanBePrefix setting refs #4581 Change-Id: I82de3b13c3010242fa7999a2564d4a5442dfd14b
diff --git a/src/security/command-interest-signer.cpp b/src/security/command-interest-signer.cpp index 70e80a1..d4cb33a 100644 --- a/src/security/command-interest-signer.cpp +++ b/src/security/command-interest-signer.cpp
@@ -56,6 +56,7 @@ CommandInterestSigner::makeCommandInterest(const Name& name, const SigningInfo& params) { Interest commandInterest(prepareCommandInterestName(name)); + commandInterest.setCanBePrefix(false); m_keyChain.sign(commandInterest, params); return commandInterest; }