summaryrefslogtreecommitdiffstats
path: root/authfd.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-03-25 19:21:48 +0000
committerDamien Miller <djm@mindrot.org>2015-03-27 12:02:13 +1100
commit5f57e77f91bf2230c09eca96eb5ecec39e5f2da6 (patch)
tree4835c4f27ce15c2c5a61ea73d02f9efef4e7bfa9 /authfd.c
parent4daeb67181054f2a377677fac919ee8f9ed3490e (diff)
upstream commit
unbreak ssh_agent_sign (lenp vs *lenp)
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfd.c b/authfd.c
index e65bcab0..9ed5d2f1 100644
--- a/authfd.c
+++ b/authfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfd.c,v 1.95 2015/03/24 20:09:11 markus Exp $ */
+/* $OpenBSD: authfd.c,v 1.96 2015/03/25 19:21:48 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -469,7 +469,7 @@ ssh_agent_sign(int sock, struct sshkey *key,
}
if ((r = sshbuf_get_string(msg, sigp, &len)) != 0)
goto out;
- if (*lenp != NULL)
+ if (lenp != NULL)
*lenp = len;
r = 0;
out: