tool_getparam: use UNITTEST not, ifdef

Closes #20174
This commit is contained in:
Daniel Stenberg 2026-01-03 17:28:25 +01:00
parent b374a8f07f
commit 5ef7fa39d5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 <https://sourceforge.net/p/curl/bugs/1196/>
* for details. */
#ifndef UNITTESTS
static
#endif
* for details.
*
* Unit test 1394
*/
UNITTEST
ParameterError parse_cert_parameter(const char *cert_parameter,
char **certname,
char **passphrase)