Subject: Re: knownhost.c hostline() fix

Re: knownhost.c hostline() fix

From: Ben Kibbey <>
Date: Sat, 11 Jul 2009 20:20:57 -0400

On Sun, Jul 12, 2009 at 12:35:32AM +0200, Daniel Stenberg wrote:
> On Mon, 8 Jun 2009, Ben Kibbey wrote:
>> This fixes hostname parsing when only one part is given in the host portion:
> Hey again,
> I just had to revert the second hunk of this patch as it broke
> verification of hashed host names for me. Can you check if the current
> git repo still works for your case?

Where the the line that was (the removed one):

        host = orig;

change it to

        if (!salt)
                host = orig;

Otherwise it'll break non-hashed hosts (untested).

Ben Kibbey (bjk) @ FreeNode/OFTC/Jabber
Received on 2009-07-12