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

Reply via email to