size_t ndest_constraints = 0i in ssh-add.c

Darren Tucker dtucker at dtucker.net
Sun Jan 7 19:38:25 AEDT 2024


On Sun, 7 Jan 2024 at 15:17, Albert Chin
<openssh-unix-dev at mlists.thewrittenword.com> wrote:
> Is the use of "0i" a typo in main() from ssh-add.c:
>         size_t ndest_constraints = 0i, ncerts = 0;

Smells like vi droppings to me.  It was added in OpenBSD in revision 1.169:

"""
date: 2023/12/18 14:46:56;  author: djm;  state: Exp;  lines: +64 -28;
 commitid: LUZ2aR7IpuJ6rFIG;
Make it possible to load certs from PKCS#11 tokens

Adds a protocol extension to allow grafting certificates supplied by
ssh-add to keys loaded from PKCS#11 tokens in the agent.
"""

Damien?

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list