• Poul-Henning Kamp's avatar
    Fix an embarrasing bug in my Flexlinting of this code yesterday, and · fa1f36f2
    Poul-Henning Kamp authored
    add a couple of test-vectors to avoid it happening again.
    
    And now for the funny and educational story:
    
    In july of 1994, I added the "libmd" to FreeBSD, containing the
    MD2, MD4 and MD5 functions from RFC 1319, RFC 1186 and RFC1321.
    
    I meticulously replicated the test-vectors from the RFCs, so that
    "make test" would validate the result.
    
    Duing the intermediate 14 years, various slight shifts and adjustments
    to things like the make(1) programs defaults, the shared library
    resolution algorithm and other totally unrelated things, meant that
    "make test" now tests the installed version of the library, rather
    than the version you just built with "make all".
    
    Needless to say, when I tested my patch yesterday, I didn't install
    the built version, wanting first to hear what Colin Percival, FreeBSD
    Security Wiz, generally swell fella and the guy who wrote this
    SHA256 implementation, thought of these "stylistic" patches.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk@3452 d4fa192b-c00b-0410-8231-f00ffab90ce4
    fa1f36f2
Name
Last commit
Last update
..
libjemalloc Loading commit data...
libvarnish Loading commit data...
libvarnishapi Loading commit data...
libvarnishcompat Loading commit data...
libvcl Loading commit data...
Makefile.am Loading commit data...