unit1394.c: plug the curl tool unit test in

This commit is contained in:
Kamil Dudka 2013-05-03 13:26:25 +02:00
parent b045d079f8
commit bcf1b9dec1
5 changed files with 98 additions and 8 deletions

View file

@ -290,9 +290,12 @@ static const struct feat feats[] = {
* We allow ':' and '\' to be escaped by '\' so that we can use certificate
* nicknames containing ':'. See <https://sourceforge.net/p/curl/bugs/1196/>
* for details. */
static void parse_cert_parameter(const char *cert_parameter,
char **certname,
char **passphrase)
#ifndef UNITTESTS
static
#endif
void parse_cert_parameter(const char *cert_parameter,
char **certname,
char **passphrase)
{
size_t param_length = strlen(cert_parameter);
size_t span;