From 111dfb225478a76f89ecbcd31e96eaf1311b59d3 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Tue, 3 Mar 2015 21:21:13 +0000 Subject: [PATCH] upstream commit add SSH1 Makefile knob to make it easier to build without SSH1 support; ok markus@ --- ssh-agent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ssh-agent.c b/ssh-agent.c index 41e12acc9..cff859ff5 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.197 2015/01/28 22:36:00 djm Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.198 2015/03/03 21:21:13 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -541,6 +541,7 @@ reaper(void) * XXX this and the corresponding serialisation function probably belongs * in key.c */ +#ifdef WITH_SSH1 static int agent_decode_rsa1(struct sshbuf *m, struct sshkey **kp) { @@ -655,6 +656,7 @@ process_add_identity(SocketEntry *e, int version) send: send_status(e, success); } +#endif /* WITH_SSH1 */ /* XXX todo: encrypt sensitive data with passphrase */ static void