diff options
-rw-r--r-- | keyDerivation.h | 2 | ||||
-rw-r--r-- | syncBuffer.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/keyDerivation.h b/keyDerivation.h index 8bce85c..10107d7 100644 --- a/keyDerivation.h +++ b/keyDerivation.h @@ -65,7 +65,7 @@ private: void serialize(Archive & ar, const unsigned int version) { ar & ld_kdr_; - //ar & salt_; + ar & salt_; } protected: diff --git a/syncBuffer.h b/syncBuffer.h index 222c197..9094d8f 100644 --- a/syncBuffer.h +++ b/syncBuffer.h @@ -48,7 +48,8 @@ private: void serialize(Archive & ar, const unsigned int version) { ar & length_; - ar & buf_; + for(u_int32_t i = 0; i < length_; i++) + ar & buf_[i]; } }; |