Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: Minor correction to skey(5).
To:
"Andy Bradford" <amb-sendok-1779321329.bifajhjhochohpioocna@bradfords.org>
Cc:
tech@openbsd.org
Date:
Sun, 22 Mar 2026 09:17:28 -0600

Download raw body.

Thread
On 21 Mar 2026 17:55:29 -0600, "Andy Bradford" wrote:

> While  attempting to  use skey  I  noticed a  small discrepancy  between
> skey(5) and the actual program behavior:
>
> $ skeyinit -sha1 -n 10000
> skeyinit: count must be > 0 and < 10000
>
> lib/libskey/skey.h has the following #define:
>
> /* Maximum sequence number we allow */
> #define SKEY_MAX_SEQ            10000   
>
> But the man page says:
>
>     This is a decimal number between one and one thousand.
>
> Here's a fix to the man page:

Committed, thanks!

 - todd