summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-07-02 13:18:50 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-07-02 13:18:50 +0000
commitb5a1b3a82df411cb95b6a850e9d9d90bc3d082f9 (patch)
tree2fc0f8c0c9b94a14bd7ce42838fc88997f4cd7b8 /authfd.c
parentc1e0861503468de5ae00ed0e532f349ec78bec68 (diff)
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/authfd.c b/authfd.c
index 5d9414faf543..82915a43d633 100644
--- a/authfd.c
+++ b/authfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfd.c,v 1.94 2015/01/14 20:05:27 djm Exp $ */
+/* $OpenBSD: authfd.c,v 1.97 2015/03/26 19:32:19 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -438,10 +438,8 @@ ssh_agent_sign(int sock, struct sshkey *key,
u_int flags = 0;
int r = SSH_ERR_INTERNAL_ERROR;
- if (sigp != NULL)
- *sigp = NULL;
- if (lenp != NULL)
- *lenp = 0;
+ *sigp = NULL;
+ *lenp = 0;
if (datalen > SSH_KEY_MAX_SIGN_DATA_SIZE)
return SSH_ERR_INVALID_ARGUMENT;