|
|
@ -87,9 +87,8 @@ public: |
|
|
|
} |
|
|
|
} |
|
|
|
CKeyMetadata(int64_t nCreateTime_) |
|
|
|
CKeyMetadata(int64_t nCreateTime_) |
|
|
|
{ |
|
|
|
{ |
|
|
|
nVersion = CKeyMetadata::CURRENT_VERSION; |
|
|
|
SetNull(); |
|
|
|
nCreateTime = nCreateTime_; |
|
|
|
nCreateTime = nCreateTime_; |
|
|
|
hdKeypath.clear(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ADD_SERIALIZE_METHODS; |
|
|
|
ADD_SERIALIZE_METHODS; |
|
|
@ -111,6 +110,7 @@ public: |
|
|
|
nVersion = CKeyMetadata::CURRENT_VERSION; |
|
|
|
nVersion = CKeyMetadata::CURRENT_VERSION; |
|
|
|
nCreateTime = 0; |
|
|
|
nCreateTime = 0; |
|
|
|
hdKeypath.clear(); |
|
|
|
hdKeypath.clear(); |
|
|
|
|
|
|
|
hdMasterKeyID.SetNull(); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|