git: b76b05c04cc9 - main - pam_ssh: Fix build - chase OpenSSH function signature change

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 12 May 2026 22:51:28 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=b76b05c04cc9ed2cd053c7b367c92628447ede6f

commit b76b05c04cc9ed2cd053c7b367c92628447ede6f
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-05-12 22:49:29 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-05-12 22:51:00 +0000

    pam_ssh: Fix build - chase OpenSSH function signature change
    
    Reported by: dch
    Fixes: 644b4646c7ac ("OpenSSH: Update to 10.1p1")
    Sponsored by: The FreeBSD Foundation
---
 lib/libpam/modules/pam_ssh/pam_ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.c b/lib/libpam/modules/pam_ssh/pam_ssh.c
index 157908b6b910..1fcee93efb69 100644
--- a/lib/libpam/modules/pam_ssh/pam_ssh.c
+++ b/lib/libpam/modules/pam_ssh/pam_ssh.c
@@ -62,7 +62,7 @@
 #include "sshkey.h"
 
 #define ssh_add_identity(auth, key, comment) \
-	ssh_add_identity_constrained(auth, key, comment, 0, 0, 0, NULL, NULL, 0)
+	ssh_add_identity_constrained(auth, key, comment, 0, 0, NULL, NULL, 0)
 
 extern char **environ;