cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl's cert_hostcheck and hostmatch are static to OpenSSL

From: Oscar Koeroo <okoeroo_at_nikhef.nl>
Date: Sat, 03 Nov 2012 21:06:49 +0100

On 03-11-12 20:08, Daniel Stenberg wrote:
> On Sat, 3 Nov 2012, Oscar Koeroo wrote:
>
>> At the moment the functions cert_hostcheck and hostmatch are static
>> functions in the lib/ssluse.c file. I need these in axTLS too.
>>
>> I wish to put it somewhere generic:
>>
>> Options are:
>> - a completely new file
>> - lib/rawstr.c
>
> I'd prefer a new file (hostcheck.c or certcheck?). And then have ssluse.h
> and axtls.h define some magic define that the new file could use to get
> compiled only if defined... or similar.

Ok, I'll try to get this into a new file. At the moment my pull request has
these two function in the lib/rawstr.c as I interpreted as string
manipulation sequences.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-03