Skip to content

Commit 87591ee

Browse files
krekre
authored andcommitted
Adapt call of ssh_add_identity_constrained() after openssh update
Note, this commit log entry belongs to the previous commit (1.31) and is to fix my screwup in the previous commit, Apologies all. With the recent openssh update, ssh_add_identity_constrained() has had its "maxsign" parameter removed. Adapt the mapping macro from ssh_add_identity() -> ssh_add_identity_constrained() to cope. While here, change the octal 0 (00) that was being passed to as the final (size_t) arg to be a nice simple decimal 0 instead. This should fix the current build breakage.
1 parent 7318831 commit 87591ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/libpam/modules/pam_ssh/pam_ssh.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: pam_ssh.c,v 1.31 2025/10/12 08:50:30 kre Exp $ */
1+
/* $NetBSD: pam_ssh.c,v 1.32 2025/10/12 08:58:13 kre Exp $ */
22

33
/*-
44
* Copyright (c) 2003 Networks Associates Technology, Inc.
@@ -38,7 +38,7 @@
3838
#ifdef __FreeBSD__
3939
__FBSDID("$FreeBSD: src/lib/libpam/modules/pam_ssh/pam_ssh.c,v 1.40 2004/02/10 10:13:21 des Exp $");
4040
#else
41-
__RCSID("$NetBSD: pam_ssh.c,v 1.31 2025/10/12 08:50:30 kre Exp $");
41+
__RCSID("$NetBSD: pam_ssh.c,v 1.32 2025/10/12 08:58:13 kre Exp $");
4242
#endif
4343

4444
#include <sys/param.h>

0 commit comments

Comments
 (0)