From 5ef7fa39d5e5f3a66d2a94674ae3fe6f86d94dac Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 3 Jan 2026 17:28:25 +0100 Subject: [PATCH] tool_getparam: use UNITTEST not, ifdef Closes #20174 --- src/tool_getparam.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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)