From 83b247a771a514792b972216e1ad32ae1f3fc316 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sat, 21 Jan 2012 10:01:20 +0100 Subject: libventi: add functions vtsha1 and vtsha1check These functions are equivalent to vtSha1 and vtSha1Check from the old libventi and are particularly used by Fossil. R=rsc http://codereview.appspot.com/5555064 --- include/venti.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/venti.h b/include/venti.h index d6b753b8..45c0aab8 100644 --- a/include/venti.h +++ b/include/venti.h @@ -381,6 +381,10 @@ int vtwritepacket(VtConn*, uchar score[VtScoreSize], uint type, Packet *p); int vtsync(VtConn*); int vtping(VtConn*); +/* sha1 */ +void vtsha1(uchar score[VtScoreSize], uchar*, int); +int vtsha1check(uchar score[VtScoreSize], uchar*, int); + /* * Data blocks and block cache. */ -- cgit v1.2.3