commit | 855b140a0ad8c154474abbae6650f08a61bdc320 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Oct 22 16:11:46 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Oct 22 16:11:46 2013 -0700 |
tree | 03d65f5371ec07644829d840afbd2027e084315e | |
parent | 59ac830e02b615d59f393108e06d5e27a617fb67 [diff] [blame] |
security: In Certificate::encode, need to set the type to KEY.
diff --git a/src/security/certificate/certificate.cpp b/src/security/certificate/certificate.cpp index b404a1f..6856a2a 100644 --- a/src/security/certificate/certificate.cpp +++ b/src/security/certificate/certificate.cpp
@@ -104,6 +104,7 @@ shared_ptr<vector<uint8_t> > blob = blobStream.buf(); setContent(blob); + getMetaInfo().setType(ndn_ContentType_KEY); } void