[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 19 Mar 2013 17:05:37 +0000

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
Received on 2013-03-19 18:06:24 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.