cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL cert error

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 18 Jun 2004 14:21:23 +0200 (CEST)

On Fri, 18 Jun 2004, Gisle Vanem wrote:

> I can do it. How about using fnmatch() for those who have it and adding a
> cut-down version for those who doesn't?

While that would work, it would provide a much more advanced matching that
would make differences between platforms. fnmatch() matches a "shell wildcard
pattern" which means it not only supports multiple '*'-letters, but also '?'
and '[]' in ways we don't want to allow in the certificates...

I think we should provide our own for all platforms.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-18