commit | 0399768e185b9e9999538f19732bf65c2696a42b | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Mon Nov 23 16:41:38 2015 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Jan 03 15:10:03 2017 -0800 |
tree | 0aeb401178161ebba02be283cc48d4a5202be3d1 | |
parent | 1e164cc096ac1820baf70ad379ab6816611634f5 [diff] [blame] |
security: Make addKey/Cert behavior of PibImpl consistent Change-Id: I30c6dd0007e9095ee07f7a8eda3b20db4c34c513 Refs: #3351
diff --git a/src/security/v2/certificate.cpp b/src/security/v2/certificate.cpp index b5188e9..b6a08ab 100644 --- a/src/security/v2/certificate.cpp +++ b/src/security/v2/certificate.cpp
@@ -98,7 +98,7 @@ return getName().at(ISSUER_ID_OFFSET); } -const Buffer +Buffer Certificate::getPublicKey() const { if (getContent().value_size() == 0)