cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: patch to allow for ssh md5 checking option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 2 Oct 2007 12:58:21 +0200 (CEST)

On Tue, 2 Oct 2007, Daniel Stenberg wrote:

> 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()...

Like the attached version. Comments?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

Received on 2007-10-02