Netconf service itself works, time to integrate.
This commit is contained in:
parent
741642ba53
commit
2a6b74746e
6 changed files with 107 additions and 51 deletions
|
@ -104,7 +104,7 @@ public:
|
|||
_keyPair((EllipticCurveKeyPair *)0)
|
||||
{
|
||||
if (!fromString(str))
|
||||
throw std::invalid_argument("invalid string-serialized identity");
|
||||
throw std::invalid_argument(std::string("invalid string-serialized identity: ") + str);
|
||||
}
|
||||
|
||||
Identity(const std::string &str)
|
||||
|
@ -112,7 +112,7 @@ public:
|
|||
_keyPair((EllipticCurveKeyPair *)0)
|
||||
{
|
||||
if (!fromString(str))
|
||||
throw std::invalid_argument("invalid string-serialized identity");
|
||||
throw std::invalid_argument(std::string("invalid string-serialized identity: ") + str);
|
||||
}
|
||||
|
||||
template<unsigned int C>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue