summaryrefslogtreecommitdiff
path: root/src/assuan-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-socket.c')
-rw-r--r--src/assuan-socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/assuan-socket.c b/src/assuan-socket.c
index f209457..cbd19fd 100644
--- a/src/assuan-socket.c
+++ b/src/assuan-socket.c
@@ -1432,6 +1432,8 @@ _assuan_sock_check_nonce (assuan_context_t ctx, assuan_fd_t fd,
we ignore the values because they are not kernel controlled. */
if (do_readn (ctx, fd, buffer, 8))
return -1;
+
+ memcpy (&ctx->process_id, buffer, 4);
/* Send our credentials: We use the uid and gid we received but
our own pid. */
n = getpid ();