Skip to content
Permalink
Browse files
upstream: Add authfd path to debug output. ok markus@
OpenBSD-Commit-ID: f735a17d1a6f2bee63bfc609d76ef8db8c090890
  • Loading branch information
daztucker committed Apr 27, 2022
1 parent 67b7c78 commit 0979e29
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,4 +1,4 @@
/* $OpenBSD: authfd.c,v 1.129 2021/12/19 22:10:24 djm Exp $ */
/* $OpenBSD: authfd.c,v 1.130 2022/04/27 11:08:55 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -92,6 +92,7 @@ ssh_get_authentication_socket_path(const char *authsocket, int *fdp)
int sock, oerrno;
struct sockaddr_un sunaddr;

debug3_f("path '%s'", authsocket);
memset(&sunaddr, 0, sizeof(sunaddr));
sunaddr.sun_family = AF_UNIX;
strlcpy(sunaddr.sun_path, authsocket, sizeof(sunaddr.sun_path));

0 comments on commit 0979e29

Please sign in to comment.