summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-03-03 21:21:13 +0000
committerDamien Miller <djm@mindrot.org>2015-03-04 08:24:11 +1100
commit111dfb225478a76f89ecbcd31e96eaf1311b59d3 (patch)
tree40b840a362d666ca7ea60e8fd148bb7fb02d3ec8 /ssh-agent.c
parent3f7f5e6c5d2aa3f6710289c1a30119e534e56c5c (diff)
upstream commit
add SSH1 Makefile knob to make it easier to build without SSH1 support; ok markus@
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c4
1 files changed, 3 insertions, 1 deletions
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 @@
1/* $OpenBSD: ssh-agent.c,v 1.197 2015/01/28 22:36:00 djm Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.198 2015/03/03 21:21:13 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -541,6 +541,7 @@ reaper(void)
541 * XXX this and the corresponding serialisation function probably belongs 541 * XXX this and the corresponding serialisation function probably belongs
542 * in key.c 542 * in key.c
543 */ 543 */
544#ifdef WITH_SSH1
544static int 545static int
545agent_decode_rsa1(struct sshbuf *m, struct sshkey **kp) 546agent_decode_rsa1(struct sshbuf *m, struct sshkey **kp)
546{ 547{
@@ -655,6 +656,7 @@ process_add_identity(SocketEntry *e, int version)
655send: 656send:
656 send_status(e, success); 657 send_status(e, success);
657} 658}
659#endif /* WITH_SSH1 */
658 660
659/* XXX todo: encrypt sensitive data with passphrase */ 661/* XXX todo: encrypt sensitive data with passphrase */
660static void 662static void