fix unit test
This commit is contained in:
parent
68b9fafe9a
commit
5c38242a7a
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ int main( int argc, char** )
|
|||
fc::aes_encoder enc;
|
||||
enc.init( fc::sha256::hash((char*)&key,sizeof(key) ), fc::city_hash_crc_128( (char*)&key, sizeof(key) ) );
|
||||
auto len = enc.encode( dcrypt.data(), dcrypt.size(), crypt.data() );
|
||||
enc.final_encode( crypt.data() + len );
|
||||
// enc.final_encode( crypt.data() + len );
|
||||
std::cout<<"crypt: "<<fc::variant(crypt).as_string()<<"\n";
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue