From 5f57e77f91bf2230c09eca96eb5ecec39e5f2da6 Mon Sep 17 00:00:00 2001 From: "markus@openbsd.org" Date: Wed, 25 Mar 2015 19:21:48 +0000 Subject: upstream commit unbreak ssh_agent_sign (lenp vs *lenp) --- authfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'authfd.c') diff --git a/authfd.c b/authfd.c index e65bcab0c..9ed5d2f18 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 * Copyright (c) 1995 Tatu Ylonen , 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: -- cgit v1.2.3