[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

From: Shivani Poddar <shivani.poddar92_at_gmail.com>
Date: Tue, 19 Mar 2013 23:22:24 +0530

Yes, so as of now both these checksums should be handles by svn_checksum()
itself.

On Tue, Mar 19, 2013 at 10:35 PM, Philip Martin
<philip.martin_at_wandisco.com>wrote:

> Philip Martin <philip.martin_at_wandisco.com> writes:
>
> > 'd41d8cd98f00b204e9800998ecf8427e' is the MD5 of the empty string and
> > Subversion has special handling of that checksum.
>
> I made a mistake here. 'd41d8cd98f00b204e9800998ecf8427e' is the
> checksum of the empty string:
>
> $ echo -n | md5sum
> d41d8cd98f00b204e9800998ecf8427e -
>
> but that's not the checksum that has special handling in Subversion.
> The zero checksum is the checksum with special handling, it is created
> by svn_checksum_create and svn_checksum_clear, it has a digest that is
> all zeros, and it matches any other checksum of the same kind.
>
> --
> Certified & Supported Apache Subversion Downloads:
> http://www.wandisco.com/subversion/download
>

-- 
Shivani Poddar,
Bachelors in Computer Sciences and MS in Exact Humanities, Sophomore
International Institute of Information Technology, Hyderabad
Received on 2013-03-19 18:52:56 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.