Append checksums to segments to allow some verification.
[cumulus.git] / sha1.h
diff --git a/sha1.h b/sha1.h
index 597f39a..b4d4305 100644 (file)
--- a/sha1.h
+++ b/sha1.h
@@ -85,7 +85,7 @@ public:
     SHA1Checksum();
     ~SHA1Checksum();
 
-    void process(void *data, size_t len);
+    void process(const void *data, size_t len);
     const uint8_t *checksum();
     size_t checksum_size() const { return 20; }
 };