curl-library
Re: patch to allow for ssh md5 checking option
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 2 Oct 2007 12:38:59 +0200 (CEST)
Date: Tue, 2 Oct 2007 12:38:59 +0200 (CEST)
On Mon, 24 Sep 2007, Johnny Luong wrote:
> I've updated the patch and most of the lines are under that length except
> the text string (other text lines seem to break that but its part of an
> array).
A question on the implementation. I find the loop with the "manual" hexascii
to numeric conversion a bit involved. Couldn't it just as well simply be done
with memcmp() or strncmp() ? You could even match them case insensitively with
Curl_strnequal()...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-10-02