mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
BUG/MINOR: ssl/cli: unable to update a certificate without bundle extension
Commit bc6ca7c ("MINOR: ssl/cli: rework 'set ssl cert' as 'set/commit'") broke the ability to commit a unique certificate which does not use a bundle extension .{rsa,ecdsa,dsa}.
This commit is contained in:
parent
8a7fdf036b
commit
37031b85ca
@ -10327,6 +10327,8 @@ static int cli_parse_set_cert(char **args, char *payload, struct appctx *appctx,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (bundle < 0) /* we didn't find a bundle extension */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
/* bundles are not supported here, so we don't need to lookup again */
|
/* bundles are not supported here, so we don't need to lookup again */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user