From: Daniel Stenberg Date: Sat, 3 Jan 2026 16:28:25 +0000 (+0100) Subject: tool_getparam: use UNITTEST not, ifdef X-Git-Tag: curl-8_18_0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef7fa39d5e5f3a66d2a94674ae3fe6f86d94dac;p=thirdparty%2Fcurl.git tool_getparam: use UNITTEST not, ifdef Closes #20174 --- diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 57ee3ed9dc..841c6fff8b 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -377,10 +377,11 @@ static const struct LongShort aliases[]= { /* Split the argument of -E to 'certname' and 'passphrase' separated by colon. * We allow ':' and '\' to be escaped by '\' so that we can use certificate * nicknames containing ':'. See - * for details. */ -#ifndef UNITTESTS -static -#endif + * for details. + * + * Unit test 1394 + */ +UNITTEST ParameterError parse_cert_parameter(const char *cert_parameter, char **certname, char **passphrase)