commit | cbdf3796b67f444b8b72f137d51cd947f278ddf5 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Apr 09 14:10:30 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Apr 09 14:10:30 2012 -0700 |
tree | ccb86b7155ebf0f1a8790c4facc8de16cfc23277 | |
parent | 3e1eb16744e7ab9e58279144b36f8d7e1c228707 [diff] |
change hash function to sha256
diff --git a/model/sync-digest.cc b/model/sync-digest.cc index db4384e..07b5248 100644 --- a/model/sync-digest.cc +++ b/model/sync-digest.cc
@@ -44,7 +44,7 @@ using namespace std; // Other options: VP_md2, EVP_md5, EVP_sha, EVP_sha1, EVP_sha256, EVP_dss, EVP_dss1, EVP_mdc2, EVP_ripemd160 -#define HASH_FUNCTION EVP_sha1 +#define HASH_FUNCTION EVP_sha256 // #ifndef DIGEST_BASE64