Home GnuPG
Diffusion GnuPG 660eafa3a9f6

agent: Fix sending connecting process uid to pinentry.

Description

agent: Fix sending connecting process uid to pinentry.

* agent/command-ssh.c (get_client_info): Use LOCAL_PEERCRED.

LOCAL_PEERUID was wrong (while there is LOCAL_PEERUUID).
For FreeBSD and macOS, we can use LOCAL_PEERCRED to get uid.