commit c14142920d1cc9c31a133ff7c2fbcef18bf612aa
parent 50634f5eb679314162b6225be9e44157143ee327
Author: Joris Vink <joris@coders.se>
Date: Wed, 1 Jun 2022 23:00:22 +0200
Set vfy.pnum to ctx.pnum.
Otherwise we don't strip properly on the to-be-verified note.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/secnote.c b/secnote.c
@@ -166,6 +166,7 @@ main(int argc, char *argv[])
ctx.pnum = strtonum(optarg, 0, 255, &err);
if (err != NULL)
fatal("-p %s invalid: %s", optarg, err);
+ vfy.pnum = ctx.pnum;
break;
case 'q':
ctx.query = optarg;