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.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to