infohash: use 256 bits and SHA256

This commit is contained in:
Adrien Beraud authored and Adrien Béraud committed 2017-10-17 18:58:07 +02:00
1 parent ac06dbe45f
commit aa0fbbce76
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ typedef uint16_t in_port_t;
// bytes
#define HASH_LEN 20u
#define HASH_LEN 32u
namespace dht {