Module Name: src
Committed By: agc
Date: Thu Dec 17 15:55:16 UTC 2009
Modified Files:
src/crypto/external/bsd/openssh/dist: ssh-agent.c
Log Message:
Preserve the existing value of an extern variable across the call to
process_sign_request2().
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/openssh/dist/ssh-agent.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssh/dist/ssh-agent.c
diff -u src/crypto/external/bsd/openssh/dist/ssh-agent.c:1.2 src/crypto/external/bsd/openssh/dist/ssh-agent.c:1.3
--- src/crypto/external/bsd/openssh/dist/ssh-agent.c:1.2 Sun Jun 7 22:38:47 2009
+++ src/crypto/external/bsd/openssh/dist/ssh-agent.c Thu Dec 17 15:55:16 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ssh-agent.c,v 1.2 2009/06/07 22:38:47 christos Exp $ */
+/* $NetBSD: ssh-agent.c,v 1.3 2009/12/17 15:55:16 agc Exp $ */
/* $OpenBSD: ssh-agent.c,v 1.159 2008/06/28 14:05:15 djm Exp $ */
/*
* Author: Tatu Ylonen <[email protected]>
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: ssh-agent.c,v 1.2 2009/06/07 22:38:47 christos Exp $");
+__RCSID("$NetBSD: ssh-agent.c,v 1.3 2009/12/17 15:55:16 agc Exp $");
#include <sys/types.h>
#include <sys/time.h>
#include <sys/queue.h>
@@ -307,13 +307,13 @@
Buffer msg;
Key *key;
+ odatafellows = datafellows;
datafellows = 0;
blob = buffer_get_string(&e->request, &blen);
data = buffer_get_string(&e->request, &dlen);
flags = buffer_get_int(&e->request);
- odatafellows = datafellows;
if (flags & SSH_AGENT_OLD_SIGNATURE)
datafellows = SSH_BUG_SIGBLOB;